diff --git a/crates/libs/bindgen/src/classes.rs b/crates/libs/bindgen/src/classes.rs index 4ddddbde33..8996e56c41 100644 --- a/crates/libs/bindgen/src/classes.rs +++ b/crates/libs/bindgen/src/classes.rs @@ -73,7 +73,7 @@ fn gen_class(def: &TypeDef, gen: &Gen) -> TokenStream { let new = if def.has_default_constructor() { quote! { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>( callback: F, diff --git a/crates/libs/bindgen/src/gen.rs b/crates/libs/bindgen/src/gen.rs index 0e9c59ae6e..5561fa4d88 100644 --- a/crates/libs/bindgen/src/gen.rs +++ b/crates/libs/bindgen/src/gen.rs @@ -11,6 +11,7 @@ pub struct Gen<'a> { pub min_inherit: bool, pub min_xaml: bool, pub windows_extern: bool, + pub component: bool, } impl Gen<'_> { diff --git a/crates/libs/bindgen/src/implements.rs b/crates/libs/bindgen/src/implements.rs index 523ff85978..8957a565cd 100644 --- a/crates/libs/bindgen/src/implements.rs +++ b/crates/libs/bindgen/src/implements.rs @@ -1,7 +1,7 @@ use super::*; pub fn gen(def: &TypeDef, gen: &Gen) -> TokenStream { - if def.kind() != TypeKind::Interface || !def.can_implement() { + if def.kind() != TypeKind::Interface || (!gen.component && !def.can_implement()) { return quote! {}; } @@ -58,7 +58,7 @@ pub fn gen(def: &TypeDef, gen: &Gen) -> TokenStream { // If it can be implemented but is exclusive and has no return value then // it is a Xaml override so give it a default implementation to make it easier // to override individual methods for Xaml notifications. - if def.is_exclusive() && method.signature(&def.generics).return_type.is_none() { + if !gen.component && def.is_exclusive() && method.signature(&def.generics).return_type.is_none() { quote! { fn #name #signature { ::core::result::Result::Ok(()) diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index 75c84b14a8..75da4f994a 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -2834,7 +2834,7 @@ unsafe impl ::core::marker::Sync for LearningModelSession {} pub struct LearningModelSessionOptions(::windows::core::IUnknown); impl LearningModelSessionOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs index 92e7bf94bd..292ec6d4b8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -145,7 +145,7 @@ unsafe impl ::windows::core::RuntimeType for AppServiceClosedStatus { pub struct AppServiceConnection(::windows::core::IUnknown); impl AppServiceConnection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 23b706124f..69a83943e5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -8,7 +8,7 @@ pub mod DataProvider; pub struct Appointment(::windows::core::IUnknown); impl Appointment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1535,7 +1535,7 @@ unsafe impl ::core::marker::Sync for AppointmentException {} pub struct AppointmentInvitee(::windows::core::IUnknown); impl AppointmentInvitee { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2030,7 +2030,7 @@ unsafe impl ::core::marker::Sync for AppointmentManagerForUser {} pub struct AppointmentOrganizer(::windows::core::IUnknown); impl AppointmentOrganizer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2434,7 +2434,7 @@ impl ::windows::core::RuntimeName for AppointmentProperties { pub struct AppointmentRecurrence(::windows::core::IUnknown); impl AppointmentRecurrence { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3774,7 +3774,7 @@ unsafe impl ::windows::core::RuntimeType for FindAppointmentCalendarsOptions { pub struct FindAppointmentsOptions(::windows::core::IUnknown); impl FindAppointmentsOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 0b7724b55b..e0fcaa6b47 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -493,7 +493,7 @@ unsafe impl ::core::marker::Sync for AppBroadcastTriggerProviderInfo {} pub struct ApplicationTrigger(::windows::core::IUnknown); impl ApplicationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -739,7 +739,7 @@ unsafe impl ::windows::core::RuntimeType for ApplicationTriggerResult { pub struct AppointmentStoreNotificationTrigger(::windows::core::IUnknown); impl AppointmentStoreNotificationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1009,7 +1009,7 @@ impl ::windows::core::RuntimeName for BackgroundExecutionManager { pub struct BackgroundTaskBuilder(::windows::core::IUnknown); impl BackgroundTaskBuilder { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2202,7 +2202,7 @@ unsafe impl ::windows::core::RuntimeType for BackgroundWorkCostValue { pub struct BluetoothLEAdvertisementPublisherTrigger(::windows::core::IUnknown); impl BluetoothLEAdvertisementPublisherTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2371,7 +2371,7 @@ unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementPublisherTrigger {} pub struct BluetoothLEAdvertisementWatcherTrigger(::windows::core::IUnknown); impl BluetoothLEAdvertisementWatcherTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2556,7 +2556,7 @@ unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcherTrigger {} pub struct CachedFileUpdaterTrigger(::windows::core::IUnknown); impl CachedFileUpdaterTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2765,7 +2765,7 @@ unsafe impl ::core::marker::Sync for CachedFileUpdaterTriggerDetails {} pub struct ChatMessageNotificationTrigger(::windows::core::IUnknown); impl ChatMessageNotificationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2871,7 +2871,7 @@ unsafe impl ::core::marker::Sync for ChatMessageNotificationTrigger {} pub struct ChatMessageReceivedNotificationTrigger(::windows::core::IUnknown); impl ChatMessageReceivedNotificationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2977,7 +2977,7 @@ unsafe impl ::core::marker::Sync for ChatMessageReceivedNotificationTrigger {} pub struct CommunicationBlockingAppSetAsActiveTrigger(::windows::core::IUnknown); impl CommunicationBlockingAppSetAsActiveTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3083,7 +3083,7 @@ unsafe impl ::core::marker::Sync for CommunicationBlockingAppSetAsActiveTrigger pub struct ContactStoreNotificationTrigger(::windows::core::IUnknown); impl ContactStoreNotificationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3189,7 +3189,7 @@ unsafe impl ::core::marker::Sync for ContactStoreNotificationTrigger {} pub struct ContentPrefetchTrigger(::windows::core::IUnknown); impl ContentPrefetchTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3315,7 +3315,7 @@ impl<'a> ::windows::core::IntoParam<'a, IBackgroundTrigger> for &ContentPrefetch pub struct ConversationalAgentTrigger(::windows::core::IUnknown); impl ConversationalAgentTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3869,7 +3869,7 @@ impl<'a> ::windows::core::IntoParam<'a, IBackgroundTrigger> for &DeviceManufactu pub struct DeviceServicingTrigger(::windows::core::IUnknown); impl DeviceServicingTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4029,7 +4029,7 @@ unsafe impl ::windows::core::RuntimeType for DeviceTriggerResult { pub struct DeviceUseTrigger(::windows::core::IUnknown); impl DeviceUseTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4249,7 +4249,7 @@ impl<'a> ::windows::core::IntoParam<'a, IBackgroundTrigger> for &DeviceWatcherTr pub struct EmailStoreNotificationTrigger(::windows::core::IUnknown); impl EmailStoreNotificationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4736,7 +4736,7 @@ unsafe impl ::core::marker::Sync for GattServiceProviderTriggerResult {} pub struct GeovisitTrigger(::windows::core::IUnknown); impl GeovisitTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7767,7 +7767,7 @@ impl<'a> ::windows::core::IntoParam<'a, IBackgroundTrigger> for &MaintenanceTrig pub struct MediaProcessingTrigger(::windows::core::IUnknown); impl MediaProcessingTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7925,7 +7925,7 @@ unsafe impl ::windows::core::RuntimeType for MediaProcessingTriggerResult { pub struct MobileBroadbandDeviceServiceNotificationTrigger(::windows::core::IUnknown); impl MobileBroadbandDeviceServiceNotificationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8031,7 +8031,7 @@ unsafe impl ::core::marker::Sync for MobileBroadbandDeviceServiceNotificationTri pub struct MobileBroadbandPcoDataChangeTrigger(::windows::core::IUnknown); impl MobileBroadbandPcoDataChangeTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8137,7 +8137,7 @@ unsafe impl ::core::marker::Sync for MobileBroadbandPcoDataChangeTrigger {} pub struct MobileBroadbandPinLockStateChangeTrigger(::windows::core::IUnknown); impl MobileBroadbandPinLockStateChangeTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8243,7 +8243,7 @@ unsafe impl ::core::marker::Sync for MobileBroadbandPinLockStateChangeTrigger {} pub struct MobileBroadbandRadioStateChangeTrigger(::windows::core::IUnknown); impl MobileBroadbandRadioStateChangeTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8349,7 +8349,7 @@ unsafe impl ::core::marker::Sync for MobileBroadbandRadioStateChangeTrigger {} pub struct MobileBroadbandRegistrationStateChangeTrigger(::windows::core::IUnknown); impl MobileBroadbandRegistrationStateChangeTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8455,7 +8455,7 @@ unsafe impl ::core::marker::Sync for MobileBroadbandRegistrationStateChangeTrigg pub struct NetworkOperatorDataUsageTrigger(::windows::core::IUnknown); impl NetworkOperatorDataUsageTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8561,7 +8561,7 @@ unsafe impl ::core::marker::Sync for NetworkOperatorDataUsageTrigger {} pub struct NetworkOperatorHotspotAuthenticationTrigger(::windows::core::IUnknown); impl NetworkOperatorHotspotAuthenticationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8782,7 +8782,7 @@ impl<'a> ::windows::core::IntoParam<'a, IBackgroundTrigger> for &NetworkOperator pub struct PaymentAppCanMakePaymentTrigger(::windows::core::IUnknown); impl PaymentAppCanMakePaymentTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9017,7 +9017,7 @@ unsafe impl ::core::marker::Sync for PhoneTrigger {} pub struct PushNotificationTrigger(::windows::core::IUnknown); impl PushNotificationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9135,7 +9135,7 @@ unsafe impl ::core::marker::Sync for PushNotificationTrigger {} pub struct RcsEndUserMessageAvailableTrigger(::windows::core::IUnknown); impl RcsEndUserMessageAvailableTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9241,7 +9241,7 @@ unsafe impl ::core::marker::Sync for RcsEndUserMessageAvailableTrigger {} pub struct RfcommConnectionTrigger(::windows::core::IUnknown); impl RfcommConnectionTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9410,7 +9410,7 @@ pub struct SecondaryAuthenticationFactorAuthenticationTrigger(::windows::core::I #[cfg(feature = "deprecated")] impl SecondaryAuthenticationFactorAuthenticationTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9876,7 +9876,7 @@ unsafe impl ::core::marker::Sync for SmsMessageReceivedTrigger {} pub struct SocketActivityTrigger(::windows::core::IUnknown); impl SocketActivityTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10551,7 +10551,7 @@ unsafe impl ::windows::core::RuntimeType for SystemTriggerType { pub struct TetheringEntitlementCheckTrigger(::windows::core::IUnknown); impl TetheringEntitlementCheckTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10782,7 +10782,7 @@ impl<'a> ::windows::core::IntoParam<'a, IBackgroundTrigger> for &TimeTrigger { pub struct ToastNotificationActionTrigger(::windows::core::IUnknown); impl ToastNotificationActionTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10900,7 +10900,7 @@ unsafe impl ::core::marker::Sync for ToastNotificationActionTrigger {} pub struct ToastNotificationHistoryChangedTrigger(::windows::core::IUnknown); impl ToastNotificationHistoryChangedTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs index 40b24add48..29d540b59f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -100,7 +100,7 @@ pub struct IPhoneCallOriginManagerStatics3_Vtbl { pub struct PhoneCallOrigin(::windows::core::IUnknown); impl PhoneCallOrigin { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index 38060a3eca..9acc39b892 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -2373,7 +2373,7 @@ unsafe impl ::windows::core::RuntimeType for PhoneCallDirection { pub struct PhoneCallHistoryEntry(::windows::core::IUnknown); impl PhoneCallHistoryEntry { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2685,7 +2685,7 @@ unsafe impl ::core::marker::Sync for PhoneCallHistoryEntry {} pub struct PhoneCallHistoryEntryAddress(::windows::core::IUnknown); impl PhoneCallHistoryEntryAddress { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2965,7 +2965,7 @@ unsafe impl ::windows::core::RuntimeType for PhoneCallHistoryEntryQueryDesiredMe pub struct PhoneCallHistoryEntryQueryOptions(::windows::core::IUnknown); impl PhoneCallHistoryEntryQueryOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4169,7 +4169,7 @@ unsafe impl ::core::marker::Sync for PhoneCallsResult {} pub struct PhoneDialOptions(::windows::core::IUnknown); impl PhoneDialOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index b0c6afff59..67f221b70b 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -521,7 +521,7 @@ unsafe impl ::core::marker::Sync for ChatConversationReader {} pub struct ChatConversationThreadingInfo(::windows::core::IUnknown); impl ChatConversationThreadingInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -736,7 +736,7 @@ unsafe impl ::windows::core::RuntimeType for ChatItemKind { pub struct ChatMessage(::windows::core::IUnknown); impl ChatMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3157,7 +3157,7 @@ unsafe impl ::windows::core::RuntimeType for ChatMessageValidationStatus { pub struct ChatQueryOptions(::windows::core::IUnknown); impl ChatQueryOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3254,7 +3254,7 @@ unsafe impl ::core::marker::Sync for ChatQueryOptions {} pub struct ChatRecipientDeliveryInfo(::windows::core::IUnknown); impl ChatRecipientDeliveryInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 70bdd2437e..1e24415725 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -130,7 +130,7 @@ unsafe impl ::core::marker::Sync for AggregateContactManager {} pub struct Contact(::windows::core::IUnknown); impl Contact { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -643,7 +643,7 @@ unsafe impl ::core::marker::Sync for Contact {} pub struct ContactAddress(::windows::core::IUnknown); impl ContactAddress { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -853,7 +853,7 @@ unsafe impl ::windows::core::RuntimeType for ContactAddressKind { pub struct ContactAnnotation(::windows::core::IUnknown); impl ContactAnnotation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1714,7 +1714,7 @@ unsafe impl ::windows::core::RuntimeType for ContactCardHeaderKind { pub struct ContactCardOptions(::windows::core::IUnknown); impl ContactCardOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2366,7 +2366,7 @@ unsafe impl ::core::marker::Sync for ContactChangedEventArgs {} pub struct ContactConnectedServiceAccount(::windows::core::IUnknown); impl ContactConnectedServiceAccount { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2476,7 +2476,7 @@ unsafe impl ::core::marker::Sync for ContactConnectedServiceAccount {} pub struct ContactDate(::windows::core::IUnknown); impl ContactDate { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2666,7 +2666,7 @@ unsafe impl ::windows::core::RuntimeType for ContactDateKind { pub struct ContactEmail(::windows::core::IUnknown); impl ContactEmail { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3018,7 +3018,7 @@ unsafe impl ::windows::core::RuntimeType for ContactFieldCategory { pub struct ContactFieldFactory(::windows::core::IUnknown); impl ContactFieldFactory { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3698,7 +3698,7 @@ unsafe impl ::core::marker::Sync for ContactInstantMessageField {} pub struct ContactJobInfo(::windows::core::IUnknown); impl ContactJobInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6108,7 +6108,7 @@ unsafe impl ::core::marker::Sync for ContactPanelLaunchFullAppRequestedEventArgs pub struct ContactPhone(::windows::core::IUnknown); impl ContactPhone { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6273,7 +6273,7 @@ unsafe impl ::windows::core::RuntimeType for ContactPhoneKind { pub struct ContactPicker(::windows::core::IUnknown); impl ContactPicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6529,7 +6529,7 @@ unsafe impl ::windows::core::RuntimeType for ContactQueryDesiredFields { pub struct ContactQueryOptions(::windows::core::IUnknown); impl ContactQueryOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7079,7 +7079,7 @@ unsafe impl ::windows::core::RuntimeType for ContactSelectionMode { pub struct ContactSignificantOther(::windows::core::IUnknown); impl ContactSignificantOther { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7517,7 +7517,7 @@ unsafe impl ::core::marker::Sync for ContactStoreNotificationTriggerDetails {} pub struct ContactWebsite(::windows::core::IUnknown); impl ContactWebsite { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7642,7 +7642,7 @@ unsafe impl ::core::marker::Sync for ContactWebsite {} pub struct FullContactCardOptions(::windows::core::IUnknown); impl FullContactCardOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs index 91511b12ee..d1c13bf5d1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -231,7 +231,7 @@ unsafe impl ::core::marker::Sync for CoreDragInfo {} pub struct CoreDragOperation(::windows::core::IUnknown); impl CoreDragOperation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs index 8e468539a5..d90776d5af 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -86,7 +86,7 @@ pub struct IShareOperation3_Vtbl { pub struct QuickLink(::windows::core::IUnknown); impl QuickLink { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 877845f8d4..fbf5fa4277 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -146,7 +146,7 @@ impl ::windows::core::RuntimeName for Clipboard { pub struct ClipboardContentOptions(::windows::core::IUnknown); impl ClipboardContentOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -581,7 +581,7 @@ unsafe impl ::windows::core::RuntimeType for ClipboardHistoryItemsResultStatus { pub struct DataPackage(::windows::core::IUnknown); impl DataPackage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4269,7 +4269,7 @@ unsafe impl ::core::marker::Sync for ShareTargetInfo {} pub struct ShareUIOptions(::windows::core::IUnknown); impl ShareUIOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs index 7199a880dc..c15c515d59 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -6,7 +6,7 @@ pub mod DataProvider; pub struct EmailAttachment(::windows::core::IUnknown); impl EmailAttachment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1079,7 +1079,7 @@ unsafe impl ::windows::core::RuntimeType for EmailImportance { pub struct EmailIrmInfo(::windows::core::IUnknown); impl EmailIrmInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1334,7 +1334,7 @@ unsafe impl ::core::marker::Sync for EmailIrmInfo {} pub struct EmailIrmTemplate(::windows::core::IUnknown); impl EmailIrmTemplate { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2463,7 +2463,7 @@ unsafe impl ::windows::core::RuntimeType for EmailMailboxAutoReplyMessageRespons pub struct EmailMailboxAutoReplySettings(::windows::core::IUnknown); impl EmailMailboxAutoReplySettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4243,7 +4243,7 @@ unsafe impl ::core::marker::Sync for EmailManagerForUser {} pub struct EmailMeetingInfo(::windows::core::IUnknown); impl EmailMeetingInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4553,7 +4553,7 @@ unsafe impl ::windows::core::RuntimeType for EmailMeetingResponseType { pub struct EmailMessage(::windows::core::IUnknown); impl EmailMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5422,7 +5422,7 @@ unsafe impl ::windows::core::RuntimeType for EmailQueryKind { pub struct EmailQueryOptions(::windows::core::IUnknown); impl EmailQueryOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5864,7 +5864,7 @@ unsafe impl ::core::marker::Sync for EmailQueryTextSearch {} pub struct EmailRecipient(::windows::core::IUnknown); impl EmailRecipient { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5993,7 +5993,7 @@ unsafe impl ::core::marker::Sync for EmailRecipient {} pub struct EmailRecipientResolutionResult(::windows::core::IUnknown); impl EmailRecipientResolutionResult { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs index 4503cc80f7..24b7665456 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs @@ -193,7 +193,7 @@ unsafe impl ::windows::core::RuntimeType for ExtendedExecutionForegroundRevokedR pub struct ExtendedExecutionForegroundSession(::windows::core::IUnknown); impl ExtendedExecutionForegroundSession { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs index f4752f394d..43784f5e67 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs @@ -194,7 +194,7 @@ unsafe impl ::windows::core::RuntimeType for ExtendedExecutionRevokedReason { pub struct ExtendedExecutionSession(::windows::core::IUnknown); impl ExtendedExecutionSession { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index 6378c34ee9..872f663750 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -591,7 +591,7 @@ pub struct IPaymentTokenFactory_Vtbl { pub struct PaymentAddress(::windows::core::IUnknown); impl PaymentAddress { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1100,7 +1100,7 @@ unsafe impl ::core::marker::Sync for PaymentCurrencyAmount {} pub struct PaymentDetails(::windows::core::IUnknown); impl PaymentDetails { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1530,7 +1530,7 @@ unsafe impl ::core::marker::Sync for PaymentItem {} pub struct PaymentMediator(::windows::core::IUnknown); impl PaymentMediator { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1650,7 +1650,7 @@ unsafe impl ::core::marker::Sync for PaymentMediator {} pub struct PaymentMerchantInfo(::windows::core::IUnknown); impl PaymentMerchantInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1914,7 +1914,7 @@ unsafe impl ::windows::core::RuntimeType for PaymentOptionPresence { pub struct PaymentOptions(::windows::core::IUnknown); impl PaymentOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs index c13ab5277a..9e733c5dad 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -535,7 +535,7 @@ unsafe impl ::core::marker::Sync for NotesWindowManagerPreview {} pub struct NotesWindowManagerPreviewShowNoteOptions(::windows::core::IUnknown); impl NotesWindowManagerPreviewShowNoteOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs index ba3af0aac9..871f52ec5a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -808,7 +808,7 @@ unsafe impl ::core::marker::Sync for ResourceCandidateVectorView {} pub struct ResourceContext(::windows::core::IUnknown); impl ResourceContext { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs index 5bb99f1d21..d79f252ca9 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs @@ -111,7 +111,7 @@ pub struct IResourceLoaderStatics4_Vtbl { pub struct ResourceLoader(::windows::core::IUnknown); impl ResourceLoader { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs index 8034a87b83..aa34fe7ec4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs @@ -331,7 +331,7 @@ unsafe impl ::windows::core::RuntimeType for SearchSuggestionKind { pub struct SearchSuggestionManager(::windows::core::IUnknown); impl SearchSuggestionManager { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index a9b6262294..1853120784 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -564,7 +564,7 @@ pub struct ISearchSuggestionsRequestDeferral_Vtbl { pub struct LocalContentSuggestionSettings(::windows::core::IUnknown); impl LocalContentSuggestionSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs index 7e3d5f87cc..943979c2fc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/SocialInfo/mod.rs @@ -338,7 +338,7 @@ pub struct SocialFeedChildItem(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SocialFeedChildItem { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -663,7 +663,7 @@ pub struct SocialFeedItem(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SocialFeedItem { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1007,7 +1007,7 @@ pub struct SocialFeedSharedItem(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SocialFeedSharedItem { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1264,7 +1264,7 @@ pub struct SocialItemThumbnail(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SocialItemThumbnail { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs index bb7b1b6702..fd73c61c4d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs @@ -276,7 +276,7 @@ unsafe impl ::core::marker::Sync for AppInstallItem {} pub struct AppInstallManager(::windows::core::IUnknown); impl AppInstallManager { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -853,7 +853,7 @@ unsafe impl ::core::marker::Sync for AppInstallManagerItemEventArgs {} pub struct AppInstallOptions(::windows::core::IUnknown); impl AppInstallOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1393,7 +1393,7 @@ unsafe impl ::windows::core::RuntimeType for AppInstallationToastNotificationMod pub struct AppUpdateOptions(::windows::core::IUnknown); impl AppUpdateOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs index 1a9256625e..bdba300d07 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs @@ -1489,7 +1489,7 @@ unsafe impl ::core::marker::Sync for ProductListing {} pub struct ProductPurchaseDisplayProperties(::windows::core::IUnknown); impl ProductPurchaseDisplayProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index 0e9c4606c4..5ac50fd84e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -739,7 +739,7 @@ unsafe impl ::core::marker::Sync for UserActivity {} pub struct UserActivityAttribution(::windows::core::IUnknown); impl UserActivityAttribution { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs index 87b453ec61..0d4001e2e1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -39,7 +39,7 @@ unsafe impl ::windows::core::RuntimeType for DeviceAccountAuthenticationType { pub struct DeviceAccountConfiguration(::windows::core::IUnknown); impl DeviceAccountConfiguration { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs index 98fcc8e37a..66920fe10d 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -397,7 +397,7 @@ pub struct IUserDataTaskStore_Vtbl { pub struct UserDataTask(::windows::core::IUnknown); impl UserDataTask { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1667,7 +1667,7 @@ unsafe impl ::windows::core::RuntimeType for UserDataTaskQueryKind { pub struct UserDataTaskQueryOptions(::windows::core::IUnknown); impl UserDataTaskQueryOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1896,7 +1896,7 @@ unsafe impl ::core::marker::Sync for UserDataTaskReader {} pub struct UserDataTaskRecurrenceProperties(::windows::core::IUnknown); impl UserDataTaskRecurrenceProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2134,7 +2134,7 @@ unsafe impl ::windows::core::RuntimeType for UserDataTaskRecurrenceUnit { pub struct UserDataTaskRegenerationProperties(::windows::core::IUnknown); impl UserDataTaskRegenerationProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs index bfd7870770..4ce3803c10 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -577,7 +577,7 @@ unsafe impl ::core::marker::Sync for VoiceCommandConfirmationResult {} pub struct VoiceCommandContentTile(::windows::core::IUnknown); impl VoiceCommandContentTile { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1366,7 +1366,7 @@ unsafe impl ::core::marker::Sync for VoiceCommandServiceConnection {} pub struct VoiceCommandUserMessage(::windows::core::IUnknown); impl VoiceCommandUserMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index 545d8e3c30..d1b88c99bb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -1514,7 +1514,7 @@ impl ::windows::core::RuntimeName for WalletManager { pub struct WalletRelevantLocation(::windows::core::IUnknown); impl WalletRelevantLocation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1661,7 +1661,7 @@ unsafe impl ::windows::core::RuntimeType for WalletSummaryViewPosition { pub struct WalletTransaction(::windows::core::IUnknown); impl WalletTransaction { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index 5304aab6ed..3d62ae3295 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -269,7 +269,7 @@ pub struct IJsonValueStatics2_Vtbl { pub struct JsonArray(::windows::core::IUnknown); impl JsonArray { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -745,7 +745,7 @@ unsafe impl ::windows::core::RuntimeType for JsonErrorStatus { pub struct JsonObject(::windows::core::IUnknown); impl JsonObject { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs index e5f151de08..85bca2774e 100644 --- a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs @@ -584,7 +584,7 @@ unsafe impl ::core::marker::Sync for PdfPageDimensions {} pub struct PdfPageRenderOptions(::windows::core::IUnknown); impl PdfPageRenderOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs index f108b65445..7817a55ab5 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -3922,7 +3922,7 @@ unsafe impl ::core::marker::Sync for XmlComment {} pub struct XmlDocument(::windows::core::IUnknown); impl XmlDocument { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6189,7 +6189,7 @@ unsafe impl ::core::marker::Sync for XmlEntityReference {} pub struct XmlLoadSettings(::windows::core::IUnknown); impl XmlLoadSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs index aa25f6b110..6f478b9011 100644 --- a/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/AllJoyn/mod.rs @@ -857,7 +857,7 @@ pub struct AllJoynBusAttachment(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl AllJoynBusAttachment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1328,7 +1328,7 @@ pub struct AllJoynBusObject(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl AllJoynBusObject { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs index bd8ebc98a5..59e313a7d8 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -4,7 +4,7 @@ pub struct BluetoothLEAdvertisement(::windows::core::IUnknown); impl BluetoothLEAdvertisement { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -161,7 +161,7 @@ unsafe impl ::core::marker::Sync for BluetoothLEAdvertisement {} pub struct BluetoothLEAdvertisementBytePattern(::windows::core::IUnknown); impl BluetoothLEAdvertisementBytePattern { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -299,7 +299,7 @@ unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementBytePattern {} pub struct BluetoothLEAdvertisementDataSection(::windows::core::IUnknown); impl BluetoothLEAdvertisementDataSection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -590,7 +590,7 @@ impl ::windows::core::RuntimeName for BluetoothLEAdvertisementDataTypes { pub struct BluetoothLEAdvertisementFilter(::windows::core::IUnknown); impl BluetoothLEAdvertisementFilter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -762,7 +762,7 @@ unsafe impl ::windows::core::RuntimeType for BluetoothLEAdvertisementFlags { pub struct BluetoothLEAdvertisementPublisher(::windows::core::IUnknown); impl BluetoothLEAdvertisementPublisher { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1306,7 +1306,7 @@ unsafe impl ::windows::core::RuntimeType for BluetoothLEAdvertisementType { pub struct BluetoothLEAdvertisementWatcher(::windows::core::IUnknown); impl BluetoothLEAdvertisementWatcher { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1660,7 +1660,7 @@ unsafe impl ::core::marker::Sync for BluetoothLEAdvertisementWatcherStoppedEvent pub struct BluetoothLEManufacturerData(::windows::core::IUnknown); impl BluetoothLEManufacturerData { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs index e6b4f1e4f4..c55f6f10f2 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -2264,7 +2264,7 @@ unsafe impl ::core::marker::Sync for GattLocalCharacteristic {} pub struct GattLocalCharacteristicParameters(::windows::core::IUnknown); impl GattLocalCharacteristicParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2657,7 +2657,7 @@ unsafe impl ::core::marker::Sync for GattLocalDescriptor {} pub struct GattLocalDescriptorParameters(::windows::core::IUnknown); impl GattLocalDescriptorParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3960,7 +3960,7 @@ unsafe impl ::core::marker::Sync for GattReadResult {} pub struct GattReliableWriteTransaction(::windows::core::IUnknown); impl GattReliableWriteTransaction { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4462,7 +4462,7 @@ unsafe impl ::core::marker::Sync for GattServiceProviderAdvertisementStatusChang pub struct GattServiceProviderAdvertisingParameters(::windows::core::IUnknown); impl GattServiceProviderAdvertisingParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs index d973aca497..257cee1a8c 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -2704,7 +2704,7 @@ unsafe impl ::windows::core::RuntimeType for BluetoothServiceCapabilities { pub struct BluetoothSignalStrengthFilter(::windows::core::IUnknown); impl BluetoothSignalStrengthFilter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index f3faf388ef..d8f27db4d8 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -1766,7 +1766,7 @@ unsafe impl ::windows::core::RuntimeType for DevicePairingResultStatus { pub struct DevicePicker(::windows::core::IUnknown); impl DevicePicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index b3dacc9bf4..568f5ca957 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -929,7 +929,7 @@ unsafe impl ::windows::core::RuntimeType for GeolocationAccessStatus { pub struct Geolocator(::windows::core::IUnknown); impl Geolocator { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1739,7 +1739,7 @@ unsafe impl ::core::marker::Sync for Geovisit {} pub struct GeovisitMonitor(::windows::core::IUnknown); impl GeovisitMonitor { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Input/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/mod.rs index 3ecc4a4a67..b6d86f568a 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/mod.rs @@ -363,7 +363,7 @@ pub struct ITouchCapabilities_Vtbl { pub struct KeyboardCapabilities(::windows::core::IUnknown); impl KeyboardCapabilities { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -455,7 +455,7 @@ unsafe impl ::core::marker::Sync for KeyboardCapabilities {} pub struct MouseCapabilities(::windows::core::IUnknown); impl MouseCapabilities { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1820,7 +1820,7 @@ impl ::core::default::Default for PointerDeviceUsage { pub struct TouchCapabilities(::windows::core::IUnknown); impl TouchCapabilities { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs index 89808729c3..e422753a27 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -1394,7 +1394,7 @@ unsafe impl ::windows::core::RuntimeType for LampArrayEffectCompletionBehavior { pub struct LampArrayEffectPlaylist(::windows::core::IUnknown); impl LampArrayEffectPlaylist { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index c50474d4d3..add714b299 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -648,7 +648,7 @@ pub struct IMidiTimeCodeMessageFactory_Vtbl { pub struct MidiActiveSensingMessage(::windows::core::IUnknown); impl MidiActiveSensingMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -933,7 +933,7 @@ unsafe impl ::core::marker::Sync for MidiChannelPressureMessage {} pub struct MidiContinueMessage(::windows::core::IUnknown); impl MidiContinueMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2764,7 +2764,7 @@ unsafe impl ::core::marker::Sync for MidiSongSelectMessage {} pub struct MidiStartMessage(::windows::core::IUnknown); impl MidiStartMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2896,7 +2896,7 @@ unsafe impl ::core::marker::Sync for MidiStartMessage {} pub struct MidiStopMessage(::windows::core::IUnknown); impl MidiStopMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3367,7 +3367,7 @@ unsafe impl ::core::marker::Sync for MidiSystemExclusiveMessage {} pub struct MidiSystemResetMessage(::windows::core::IUnknown); impl MidiSystemResetMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3652,7 +3652,7 @@ unsafe impl ::core::marker::Sync for MidiTimeCodeMessage {} pub struct MidiTimingClockMessage(::windows::core::IUnknown); impl MidiTimingClockMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3784,7 +3784,7 @@ unsafe impl ::core::marker::Sync for MidiTimingClockMessage {} pub struct MidiTuneRequestMessage(::windows::core::IUnknown); impl MidiTuneRequestMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs index c2fe7cace0..8f668241a4 100644 --- a/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Perception/Provider/mod.rs @@ -1408,7 +1408,7 @@ pub struct PerceptionFrameProviderInfo(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl PerceptionFrameProviderInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs index eccf47c88f..9653d13f5b 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs @@ -2561,7 +2561,7 @@ unsafe impl ::core::marker::Sync for BarcodeScannerVideoFrame {} pub struct BarcodeSymbologyAttributesBuilder(::windows::core::IUnknown); impl BarcodeSymbologyAttributesBuilder { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index 759e580ed6..d1dab75610 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -14307,7 +14307,7 @@ unsafe impl ::windows::core::RuntimeType for PosPrinterMarkFeedKind { pub struct PosPrinterPrintOptions(::windows::core::IUnknown); impl PosPrinterPrintOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index c17f2d7d13..9ea556bbf2 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -1495,7 +1495,7 @@ unsafe impl ::windows::core::RuntimeType for SmartCardActivationPolicyChangeResu pub struct SmartCardAppletIdGroup(::windows::core::IUnknown); impl SmartCardAppletIdGroup { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2741,7 +2741,7 @@ unsafe impl ::windows::core::RuntimeType for SmartCardCryptogramGeneratorOperati pub struct SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult(::windows::core::IUnknown); impl SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2842,7 +2842,7 @@ unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramMaterial pub struct SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult(::windows::core::IUnknown); impl SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2943,7 +2943,7 @@ unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramMaterial pub struct SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult(::windows::core::IUnknown); impl SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3044,7 +3044,7 @@ unsafe impl ::core::marker::Sync for SmartCardCryptogramGetAllCryptogramStorageK pub struct SmartCardCryptogramMaterialCharacteristics(::windows::core::IUnknown); impl SmartCardCryptogramMaterialCharacteristics { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3195,7 +3195,7 @@ unsafe impl ::core::marker::Sync for SmartCardCryptogramMaterialCharacteristics pub struct SmartCardCryptogramMaterialPackageCharacteristics(::windows::core::IUnknown); impl SmartCardCryptogramMaterialPackageCharacteristics { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3608,7 +3608,7 @@ unsafe impl ::windows::core::RuntimeType for SmartCardCryptogramPlacementOptions pub struct SmartCardCryptogramPlacementStep(::windows::core::IUnknown); impl SmartCardCryptogramPlacementStep { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3908,7 +3908,7 @@ unsafe impl ::windows::core::RuntimeType for SmartCardCryptogramStorageKeyCapabi pub struct SmartCardCryptogramStorageKeyCharacteristics(::windows::core::IUnknown); impl SmartCardCryptogramStorageKeyCharacteristics { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4973,7 +4973,7 @@ unsafe impl ::windows::core::RuntimeType for SmartCardPinCharacterPolicyOption { pub struct SmartCardPinPolicy(::windows::core::IUnknown); impl SmartCardPinPolicy { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 9dd504f191..388dbcfff8 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -2962,7 +2962,7 @@ impl<'a> ::windows::core::IntoParam<'a, super::super::Foundation::IAsyncInfo> fo pub struct SmsAppMessage(::windows::core::IUnknown); impl SmsAppMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3259,7 +3259,7 @@ pub struct SmsBinaryMessage(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SmsBinaryMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6050,7 +6050,7 @@ pub struct SmsTextMessage(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl SmsTextMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6346,7 +6346,7 @@ unsafe impl ::core::marker::Sync for SmsTextMessage {} pub struct SmsTextMessage2(::windows::core::IUnknown); impl SmsTextMessage2 { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs index a6d9735ba0..3c19f26388 100644 --- a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs @@ -1297,7 +1297,7 @@ unsafe impl ::windows::core::RuntimeType for UsbControlRecipient { pub struct UsbControlRequestType(::windows::core::IUnknown); impl UsbControlRequestType { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1777,7 +1777,7 @@ unsafe impl ::core::marker::Sync for UsbDevice {} pub struct UsbDeviceClass(::windows::core::IUnknown); impl UsbDeviceClass { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3380,7 +3380,7 @@ unsafe impl ::windows::core::RuntimeType for UsbReadOptions { pub struct UsbSetupPacket(::windows::core::IUnknown); impl UsbSetupPacket { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs index 4e971ec8b1..bca04b49ba 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -486,7 +486,7 @@ unsafe impl ::windows::core::RuntimeType for WiFiDirectAdvertisementListenStateD pub struct WiFiDirectAdvertisementPublisher(::windows::core::IUnknown); impl WiFiDirectAdvertisementPublisher { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -775,7 +775,7 @@ unsafe impl ::windows::core::RuntimeType for WiFiDirectConfigurationMethod { pub struct WiFiDirectConnectionListener(::windows::core::IUnknown); impl WiFiDirectConnectionListener { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -874,7 +874,7 @@ unsafe impl ::core::marker::Sync for WiFiDirectConnectionListener {} pub struct WiFiDirectConnectionParameters(::windows::core::IUnknown); impl WiFiDirectConnectionParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1527,7 +1527,7 @@ unsafe impl ::windows::core::RuntimeType for WiFiDirectError { pub struct WiFiDirectInformationElement(::windows::core::IUnknown); impl WiFiDirectInformationElement { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index ca83ca55fb..8154e4ef62 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -2122,7 +2122,7 @@ where pub struct PropertySet(::windows::core::IUnknown); impl PropertySet { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2379,7 +2379,7 @@ unsafe impl ::core::marker::Sync for PropertySet {} pub struct StringMap(::windows::core::IUnknown); impl StringMap { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2614,7 +2614,7 @@ unsafe impl ::core::marker::Sync for StringMap {} pub struct ValueSet(::windows::core::IUnknown); impl ValueSet { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index a794b33878..a8ed1d07bb 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -2327,7 +2327,7 @@ unsafe impl ::core::marker::Sync for LoggingChannel {} pub struct LoggingChannelOptions(::windows::core::IUnknown); impl LoggingChannelOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2487,7 +2487,7 @@ unsafe impl ::windows::core::RuntimeType for LoggingFieldFormat { pub struct LoggingFields(::windows::core::IUnknown); impl LoggingFields { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3222,7 +3222,7 @@ unsafe impl ::windows::core::RuntimeType for LoggingOpcode { pub struct LoggingOptions(::windows::core::IUnknown); impl LoggingOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3566,7 +3566,7 @@ unsafe impl ::core::marker::Sync for LoggingSession {} pub struct RuntimeBrokerErrorSettings(::windows::core::IUnknown); impl RuntimeBrokerErrorSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs index cca938f97f..53004c6094 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -196,7 +196,7 @@ unsafe impl ::windows::core::RuntimeType for ConditionForceEffectKind { pub struct ConstantForceEffect(::windows::core::IUnknown); impl ConstantForceEffect { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1110,7 +1110,7 @@ unsafe impl ::windows::core::RuntimeType for PeriodicForceEffectKind { pub struct RampForceEffect(::windows::core::IUnknown); impl RampForceEffect { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 408f3275b2..648353e822 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -314,7 +314,7 @@ unsafe impl ::core::marker::Sync for GameChatOverlay {} pub struct GameChatOverlayMessageSource(::windows::core::IUnknown); impl GameChatOverlayMessageSource { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs index 91d5bfea4c..29fcb0c0c5 100644 --- a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs @@ -97,7 +97,7 @@ unsafe impl ::core::marker::Sync for CharacterGrouping {} pub struct CharacterGroupings(::windows::core::IUnknown); impl CharacterGroupings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 9515bc0aa5..cd2667922d 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -533,7 +533,7 @@ unsafe impl ::windows::core::RuntimeType for CurrencyFormatterMode { pub struct DecimalFormatter(::windows::core::IUnknown); impl DecimalFormatter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2084,7 +2084,7 @@ pub struct ISignificantDigitsOption_Vtbl { pub struct IncrementNumberRounder(::windows::core::IUnknown); impl IncrementNumberRounder { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2264,7 +2264,7 @@ unsafe impl ::core::marker::Sync for IncrementNumberRounder {} pub struct NumeralSystemTranslator(::windows::core::IUnknown); impl NumeralSystemTranslator { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2399,7 +2399,7 @@ unsafe impl ::core::marker::Sync for NumeralSystemTranslator {} pub struct PercentFormatter(::windows::core::IUnknown); impl PercentFormatter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2862,7 +2862,7 @@ unsafe impl ::core::marker::Sync for PercentFormatter {} pub struct PermilleFormatter(::windows::core::IUnknown); impl PermilleFormatter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3368,7 +3368,7 @@ unsafe impl ::windows::core::RuntimeType for RoundingAlgorithm { pub struct SignificantDigitsNumberRounder(::windows::core::IUnknown); impl SignificantDigitsNumberRounder { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs index e0e8d98464..31b175a0e6 100644 --- a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs @@ -120,7 +120,7 @@ unsafe impl ::windows::core::RuntimeType for PhoneNumberFormat { pub struct PhoneNumberFormatter(::windows::core::IUnknown); impl PhoneNumberFormatter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Globalization/mod.rs b/crates/libs/windows/src/Windows/Globalization/mod.rs index e1aef96a08..8d3d89685d 100644 --- a/crates/libs/windows/src/Windows/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/mod.rs @@ -66,7 +66,7 @@ impl ::windows::core::RuntimeName for ApplicationLanguages { pub struct Calendar(::windows::core::IUnknown); impl Calendar { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2373,7 +2373,7 @@ unsafe impl ::windows::core::RuntimeType for DayOfWeek { pub struct GeographicRegion(::windows::core::IUnknown); impl GeographicRegion { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 15416a4f1d..837ded8f2b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -515,7 +515,7 @@ unsafe impl ::core::marker::Sync for GraphicsCaptureItem {} pub struct GraphicsCapturePicker(::windows::core::IUnknown); impl GraphicsCapturePicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index e872746441..326373555b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -1681,7 +1681,7 @@ pub struct BitmapPropertySet(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl BitmapPropertySet { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1990,7 +1990,7 @@ impl ::core::default::Default for BitmapSize { pub struct BitmapTransform(::windows::core::IUnknown); impl BitmapTransform { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index b6ca8d2dbf..a4e32e3bb7 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -1639,7 +1639,7 @@ impl ::core::default::Default for PrintPageDescription { pub struct PrintPageInfo(::windows::core::IUnknown); impl PrintPageInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index bc942299fc..fecbdd0c79 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -1646,7 +1646,7 @@ pub struct Print3DTaskSourceRequestedHandler_Vtbl { pub struct Printing3D3MFPackage(::windows::core::IUnknown); impl Printing3D3MFPackage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1835,7 +1835,7 @@ unsafe impl ::core::marker::Sync for Printing3D3MFPackage {} pub struct Printing3DBaseMaterial(::windows::core::IUnknown); impl Printing3DBaseMaterial { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2147,7 +2147,7 @@ unsafe impl ::windows::core::RuntimeType for Printing3DBufferFormat { pub struct Printing3DColorMaterial(::windows::core::IUnknown); impl Printing3DColorMaterial { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2365,7 +2365,7 @@ unsafe impl ::core::marker::Sync for Printing3DColorMaterialGroup {} pub struct Printing3DComponent(::windows::core::IUnknown); impl Printing3DComponent { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2523,7 +2523,7 @@ unsafe impl ::core::marker::Sync for Printing3DComponent {} pub struct Printing3DComponentWithMatrix(::windows::core::IUnknown); impl Printing3DComponentWithMatrix { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2635,7 +2635,7 @@ unsafe impl ::core::marker::Sync for Printing3DComponentWithMatrix {} pub struct Printing3DCompositeMaterial(::windows::core::IUnknown); impl Printing3DCompositeMaterial { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2856,7 +2856,7 @@ unsafe impl ::core::marker::Sync for Printing3DCompositeMaterialGroup {} pub struct Printing3DFaceReductionOptions(::windows::core::IUnknown); impl Printing3DFaceReductionOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2979,7 +2979,7 @@ unsafe impl ::core::marker::Sync for Printing3DFaceReductionOptions {} pub struct Printing3DMaterial(::windows::core::IUnknown); impl Printing3DMaterial { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3108,7 +3108,7 @@ unsafe impl ::core::marker::Sync for Printing3DMaterial {} pub struct Printing3DMesh(::windows::core::IUnknown); impl Printing3DMesh { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3490,7 +3490,7 @@ unsafe impl ::core::marker::Sync for Printing3DMeshVerificationResult {} pub struct Printing3DModel(::windows::core::IUnknown); impl Printing3DModel { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3742,7 +3742,7 @@ unsafe impl ::core::marker::Sync for Printing3DModel {} pub struct Printing3DModelTexture(::windows::core::IUnknown); impl Printing3DModelTexture { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3903,7 +3903,7 @@ unsafe impl ::windows::core::RuntimeType for Printing3DModelUnit { pub struct Printing3DMultiplePropertyMaterial(::windows::core::IUnknown); impl Printing3DMultiplePropertyMaterial { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4181,7 +4181,7 @@ unsafe impl ::windows::core::RuntimeType for Printing3DPackageCompression { pub struct Printing3DTexture2CoordMaterial(::windows::core::IUnknown); impl Printing3DTexture2CoordMaterial { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4459,7 +4459,7 @@ unsafe impl ::windows::core::RuntimeType for Printing3DTextureEdgeBehavior { pub struct Printing3DTextureResource(::windows::core::IUnknown); impl Printing3DTextureResource { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index 4f4680ce9a..8a819ba28f 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -71,7 +71,7 @@ unsafe impl ::windows::core::RuntimeType for AddPackageByAppInstallerOptions { pub struct AddPackageOptions(::windows::core::IUnknown); impl AddPackageOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -474,7 +474,7 @@ unsafe impl ::core::marker::Sync for AppInstallerManager {} pub struct AutoUpdateSettingsOptions(::windows::core::IUnknown); impl AutoUpdateSettingsOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -728,7 +728,7 @@ unsafe impl ::core::marker::Sync for AutoUpdateSettingsOptions {} pub struct CreateSharedPackageContainerOptions(::windows::core::IUnknown); impl CreateSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -948,7 +948,7 @@ unsafe impl ::core::marker::Sync for CreateSharedPackageContainerResult {} pub struct DeleteSharedPackageContainerOptions(::windows::core::IUnknown); impl DeleteSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1401,7 +1401,7 @@ unsafe impl ::core::marker::Sync for DeploymentResult {} pub struct FindSharedPackageContainerOptions(::windows::core::IUnknown); impl FindSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2485,7 +2485,7 @@ pub struct IUpdateSharedPackageContainerResult_Vtbl { pub struct PackageAllUserProvisioningOptions(::windows::core::IUnknown); impl PackageAllUserProvisioningOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2623,7 +2623,7 @@ unsafe impl ::windows::core::RuntimeType for PackageInstallState { pub struct PackageManager(::windows::core::IUnknown); impl PackageManager { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3959,7 +3959,7 @@ unsafe impl ::core::marker::Sync for PackageVolume {} pub struct RegisterPackageOptions(::windows::core::IUnknown); impl RegisterPackageOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4690,7 +4690,7 @@ unsafe impl ::windows::core::RuntimeType for SharedPackageContainerOperationStat pub struct StagePackageOptions(::windows::core::IUnknown); impl StagePackageOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4965,7 +4965,7 @@ unsafe impl ::windows::core::RuntimeType for StubPackageOption { pub struct UpdateSharedPackageContainerOptions(::windows::core::IUnknown); impl UpdateSharedPackageContainerOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index 250f555f78..3ea69d55d0 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -90,7 +90,7 @@ pub struct IMdmSessionManagerStatics_Vtbl { pub struct MdmAlert(::windows::core::IUnknown); impl MdmAlert { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs index 7743f2669b..f08ed9ebc5 100644 --- a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs @@ -4,7 +4,7 @@ pub struct AppBroadcastingMonitor(::windows::core::IUnknown); impl AppBroadcastingMonitor { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index fb64892afc..705109042f 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -2837,7 +2837,7 @@ unsafe impl ::core::marker::Sync for AudioGraphUnrecoverableErrorOccurredEventAr pub struct AudioNodeEmitter(::windows::core::IUnknown); impl AudioNodeEmitter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3618,7 +3618,7 @@ unsafe impl ::windows::core::RuntimeType for AudioNodeEmitterShapeKind { pub struct AudioNodeListener(::windows::core::IUnknown); impl AudioNodeListener { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index daa53f7cdb..a7c3a52e12 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -5125,7 +5125,7 @@ unsafe impl ::windows::core::RuntimeType for AppCaptureMetadataPriority { pub struct AppCaptureMetadataWriter(::windows::core::IUnknown); impl AppCaptureMetadataWriter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6530,7 +6530,7 @@ unsafe impl ::windows::core::RuntimeType for AppCaptureVideoEncodingResolutionMo pub struct CameraCaptureUI(::windows::core::IUnknown); impl CameraCaptureUI { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11673,7 +11673,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a L pub struct MediaCapture(::windows::core::IUnknown); impl MediaCapture { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12760,7 +12760,7 @@ unsafe impl ::core::marker::Sync for MediaCaptureFocusChangedEventArgs {} pub struct MediaCaptureInitializationSettings(::windows::core::IUnknown); impl MediaCaptureInitializationSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Casting/mod.rs b/crates/libs/windows/src/Windows/Media/Casting/mod.rs index be13ec3729..999b9b65f0 100644 --- a/crates/libs/windows/src/Windows/Media/Casting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Casting/mod.rs @@ -514,7 +514,7 @@ unsafe impl ::core::marker::Sync for CastingDevice {} pub struct CastingDevicePicker(::windows::core::IUnknown); impl CastingDevicePicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs index be16b370a6..cc5a1187fe 100644 --- a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs @@ -452,7 +452,7 @@ unsafe impl ::core::marker::Sync for RatedContentDescription {} pub struct RatedContentRestrictions(::windows::core::IUnknown); impl RatedContentRestrictions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 23c5795e61..b965e30e11 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -684,7 +684,7 @@ unsafe impl ::core::marker::Sync for AudioTrackSupportInfo {} pub struct ChapterCue(::windows::core::IUnknown); impl ChapterCue { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1032,7 +1032,7 @@ unsafe impl ::windows::core::RuntimeType for CodecKind { pub struct CodecQuery(::windows::core::IUnknown); impl CodecQuery { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1494,7 +1494,7 @@ impl ::windows::core::RuntimeName for CodecSubtypes { pub struct DataCue(::windows::core::IUnknown); impl DataCue { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1902,7 +1902,7 @@ pub struct FaceDetectionEffectDefinition(::windows::core::IUnknown); #[cfg(feature = "Media_Effects")] impl FaceDetectionEffectDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5541,7 +5541,7 @@ pub struct IVideoTrackSupportInfo_Vtbl { pub struct ImageCue(::windows::core::IUnknown); impl ImageCue { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5987,7 +5987,7 @@ unsafe impl ::core::marker::Sync for LowLightFusionResult {} pub struct MediaBinder(::windows::core::IUnknown); impl MediaBinder { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9764,7 +9764,7 @@ unsafe impl ::core::marker::Sync for MseSourceBufferList {} pub struct MseStreamSource(::windows::core::IUnknown); impl MseStreamSource { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10191,7 +10191,7 @@ pub struct SceneAnalysisEffectDefinition(::windows::core::IUnknown); #[cfg(feature = "Media_Effects")] impl SceneAnalysisEffectDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10695,7 +10695,7 @@ unsafe impl ::core::marker::Sync for SceneAnalyzedEventArgs {} pub struct SpeechCue(::windows::core::IUnknown); impl SpeechCue { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11786,7 +11786,7 @@ unsafe impl ::windows::core::RuntimeType for TimedTextBoutenType { pub struct TimedTextCue(::windows::core::IUnknown); impl TimedTextCue { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12112,7 +12112,7 @@ unsafe impl ::windows::core::RuntimeType for TimedTextFontStyle { pub struct TimedTextLine(::windows::core::IUnknown); impl TimedTextLine { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12333,7 +12333,7 @@ impl ::core::default::Default for TimedTextPoint { pub struct TimedTextRegion(::windows::core::IUnknown); impl TimedTextRegion { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13147,7 +13147,7 @@ unsafe impl ::core::marker::Sync for TimedTextSourceResolveResultEventArgs {} pub struct TimedTextStyle(::windows::core::IUnknown); impl TimedTextStyle { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13487,7 +13487,7 @@ unsafe impl ::core::marker::Sync for TimedTextStyle {} pub struct TimedTextSubformat(::windows::core::IUnknown); impl TimedTextSubformat { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13895,7 +13895,7 @@ pub struct VideoStabilizationEffectDefinition(::windows::core::IUnknown); #[cfg(feature = "Media_Effects")] impl VideoStabilizationEffectDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs index f27afbeca3..14f931d094 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -477,7 +477,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a F pub struct FrameController(::windows::core::IUnknown); impl FrameController { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index 287b72e9b8..1cb2bbbc04 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -6,7 +6,7 @@ pub mod Core; pub struct AdvancedPhotoCaptureSettings(::windows::core::IUnknown); impl AdvancedPhotoCaptureSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1985,7 +1985,7 @@ pub struct DialRequestedEventHandler_Vtbl { pub struct DigitalWindowBounds(::windows::core::IUnknown); impl DigitalWindowBounds { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3268,7 +3268,7 @@ unsafe impl ::windows::core::RuntimeType for FocusPreset { pub struct FocusSettings(::windows::core::IUnknown); impl FocusSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7063,7 +7063,7 @@ pub struct RedialRequestedEventHandler_Vtbl { pub struct RegionOfInterest(::windows::core::IUnknown); impl RegionOfInterest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8799,7 +8799,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a Z pub struct ZoomSettings(::windows::core::IUnknown); impl ZoomSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index f67dd88910..2429c1ed1e 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -493,7 +493,7 @@ unsafe impl ::windows::core::RuntimeType for DialDeviceDisplayStatus { pub struct DialDevicePicker(::windows::core::IUnknown); impl DialDevicePicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Editing/mod.rs b/crates/libs/windows/src/Windows/Media/Editing/mod.rs index 7f3e2c2de9..dcabb08cd0 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -952,7 +952,7 @@ unsafe impl ::core::marker::Sync for MediaClip {} pub struct MediaComposition(::windows::core::IUnknown); impl MediaComposition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1361,7 +1361,7 @@ unsafe impl ::core::marker::Sync for MediaOverlay {} pub struct MediaOverlayLayer(::windows::core::IUnknown); impl MediaOverlayLayer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index 9b303c6c38..586e9fd23d 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -2026,7 +2026,7 @@ unsafe impl ::core::marker::Sync for ProcessVideoFrameContext {} pub struct SlowMotionEffectDefinition(::windows::core::IUnknown); impl SlowMotionEffectDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2434,7 +2434,7 @@ unsafe impl ::core::marker::Sync for VideoEffectDefinition {} pub struct VideoTransformEffectDefinition(::windows::core::IUnknown); impl VideoTransformEffectDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index 7d3fc49035..4c0c76fc6e 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -4,7 +4,7 @@ pub struct AudioEncodingProperties(::windows::core::IUnknown); impl AudioEncodingProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -313,7 +313,7 @@ unsafe impl ::windows::core::RuntimeType for AudioEncodingQuality { pub struct ContainerEncodingProperties(::windows::core::IUnknown); impl ContainerEncodingProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1273,7 +1273,7 @@ pub struct IVideoEncodingPropertiesStatics2_Vtbl { pub struct ImageEncodingProperties(::windows::core::IUnknown); impl ImageEncodingProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1500,7 +1500,7 @@ unsafe impl ::core::marker::Sync for ImageEncodingProperties {} pub struct MediaEncodingProfile(::windows::core::IUnknown); impl MediaEncodingProfile { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2270,7 +2270,7 @@ pub struct MediaPropertySet(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl MediaPropertySet { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2795,7 +2795,7 @@ unsafe impl ::windows::core::RuntimeType for StereoscopicVideoPackingMode { pub struct TimedMetadataEncodingProperties(::windows::core::IUnknown); impl TimedMetadataEncodingProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2982,7 +2982,7 @@ unsafe impl ::core::marker::Sync for TimedMetadataEncodingProperties {} pub struct VideoEncodingProperties(::windows::core::IUnknown); impl VideoEncodingProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs index ecf950d059..182bc77b3a 100644 --- a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs @@ -444,7 +444,7 @@ pub struct IMiracastTransmitter_Vtbl { pub struct MiracastReceiver(::windows::core::IUnknown); impl MiracastReceiver { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index 983294a6df..1e65532ffb 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -1457,7 +1457,7 @@ unsafe impl ::core::marker::Sync for PlayToManager {} pub struct PlayToReceiver(::windows::core::IUnknown); impl PlayToReceiver { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index fd3dd9601a..e8199998ce 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -5579,7 +5579,7 @@ unsafe impl ::core::marker::Sync for MediaPlaybackItemOpenedEventArgs {} pub struct MediaPlaybackList(::windows::core::IUnknown); impl MediaPlaybackList { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7262,7 +7262,7 @@ unsafe impl ::core::marker::Sync for MediaPlaybackVideoTrackList {} pub struct MediaPlayer(::windows::core::IUnknown); impl MediaPlayer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs index 496f775d3c..649509490c 100644 --- a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs @@ -48,7 +48,7 @@ pub struct IPlaylistStatics_Vtbl { pub struct Playlist(::windows::core::IUnknown); impl Playlist { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs index 3a275a0bb8..5a455db9a6 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -4559,7 +4559,7 @@ pub struct NDDownloadEngineNotifier(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl NDDownloadEngineNotifier { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5012,7 +5012,7 @@ pub struct NDStorageFileHelper(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl NDStorageFileHelper { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5146,7 +5146,7 @@ pub struct NDStreamParserNotifier(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl NDStreamParserNotifier { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6176,7 +6176,7 @@ impl<'a> ::windows::core::IntoParam<'a, super::super::super::Foundation::Collect pub struct PlayReadyDomainJoinServiceRequest(::windows::core::IUnknown); impl PlayReadyDomainJoinServiceRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6426,7 +6426,7 @@ impl<'a> ::windows::core::IntoParam<'a, IPlayReadyServiceRequest> for &PlayReady pub struct PlayReadyDomainLeaveServiceRequest(::windows::core::IUnknown); impl PlayReadyDomainLeaveServiceRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6770,7 +6770,7 @@ unsafe impl ::windows::core::RuntimeType for PlayReadyITADataFormat { pub struct PlayReadyITADataGenerator(::windows::core::IUnknown); impl PlayReadyITADataGenerator { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6861,7 +6861,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a P pub struct PlayReadyIndividualizationServiceRequest(::windows::core::IUnknown); impl PlayReadyIndividualizationServiceRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7258,7 +7258,7 @@ impl<'a> ::windows::core::IntoParam<'a, IPlayReadyLicense> for &PlayReadyLicense pub struct PlayReadyLicenseAcquisitionServiceRequest(::windows::core::IUnknown); impl PlayReadyLicenseAcquisitionServiceRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7536,7 +7536,7 @@ pub struct PlayReadyLicenseIterable(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PlayReadyLicenseIterable { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8025,7 +8025,7 @@ impl<'a> ::windows::core::IntoParam<'a, IPlayReadyLicenseSession2> for &PlayRead pub struct PlayReadyMeteringReportServiceRequest(::windows::core::IUnknown); impl PlayReadyMeteringReportServiceRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8249,7 +8249,7 @@ impl<'a> ::windows::core::IntoParam<'a, IPlayReadyServiceRequest> for &PlayReady pub struct PlayReadyRevocationServiceRequest(::windows::core::IUnknown); impl PlayReadyRevocationServiceRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index 0d3c660635..c38a3ed0b2 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -274,7 +274,7 @@ unsafe impl ::windows::core::RuntimeType for HdcpProtection { pub struct HdcpSession(::windows::core::IUnknown); impl HdcpSession { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -782,7 +782,7 @@ pub struct IServiceRequestedEventArgs2_Vtbl { pub struct MediaProtectionManager(::windows::core::IUnknown); impl MediaProtectionManager { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1101,7 +1101,7 @@ unsafe impl ::core::marker::Sync for MediaProtectionServiceCompletion {} pub struct ProtectionCapabilities(::windows::core::IUnknown); impl ProtectionCapabilities { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index 6589ce3d77..a21b0d8275 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -2549,7 +2549,7 @@ unsafe impl ::core::marker::Sync for SpeechRecognitionVoiceCommandDefinitionCons pub struct SpeechRecognizer(::windows::core::IUnknown); impl SpeechRecognizer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs index 1374904602..b012d7fd54 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -617,7 +617,7 @@ unsafe impl ::core::marker::Sync for SpeechSynthesisStream {} pub struct SpeechSynthesizer(::windows::core::IUnknown); impl SpeechSynthesizer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs index 2f8659efb0..cf8a52c14a 100644 --- a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs @@ -91,7 +91,7 @@ pub struct IPrepareTranscodeResult_Vtbl { pub struct MediaTranscoder(::windows::core::IUnknown); impl MediaTranscoder { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 74d83b0267..23f213b5d7 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -2308,7 +2308,7 @@ impl ::windows::core::RuntimeName for MediaControl { pub struct MediaExtensionManager(::windows::core::IUnknown); impl MediaExtensionManager { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2724,7 +2724,7 @@ impl ::core::default::Default for MediaTimeRange { pub struct MediaTimelineController(::windows::core::IUnknown); impl MediaTimelineController { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4324,7 +4324,7 @@ unsafe impl ::core::marker::Sync for SystemMediaTransportControlsPropertyChanged pub struct SystemMediaTransportControlsTimelineProperties(::windows::core::IUnknown); impl SystemMediaTransportControlsTimelineProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 8d25bd7020..144da8b3a1 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -45,7 +45,7 @@ impl ::core::default::Default for BackgroundDownloadProgress { pub struct BackgroundDownloader(::windows::core::IUnknown); impl BackgroundDownloader { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -429,7 +429,7 @@ unsafe impl ::windows::core::RuntimeType for BackgroundTransferBehavior { pub struct BackgroundTransferCompletionGroup(::windows::core::IUnknown); impl BackgroundTransferCompletionGroup { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -630,7 +630,7 @@ unsafe impl ::core::marker::Sync for BackgroundTransferCompletionGroupTriggerDet pub struct BackgroundTransferContentPart(::windows::core::IUnknown); impl BackgroundTransferContentPart { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1175,7 +1175,7 @@ impl ::core::default::Default for BackgroundUploadProgress { pub struct BackgroundUploader(::windows::core::IUnknown); impl BackgroundUploader { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index 542065d705..4bc3caefc3 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -158,7 +158,7 @@ unsafe impl ::windows::core::RuntimeType for CellularApnAuthenticationType { pub struct CellularApnContext(::windows::core::IUnknown); impl CellularApnContext { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -749,7 +749,7 @@ unsafe impl ::windows::core::RuntimeType for ConnectionProfileDeleteStatus { pub struct ConnectionProfileFilter(::windows::core::IUnknown); impl ConnectionProfileFilter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs index 1c166c9584..7575280dc1 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -5361,7 +5361,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a M pub struct MobileBroadbandAccountWatcher(::windows::core::IUnknown); impl MobileBroadbandAccountWatcher { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11271,7 +11271,7 @@ unsafe impl ::core::marker::Sync for NetworkOperatorNotificationEventDetails {} pub struct NetworkOperatorTetheringAccessPointConfiguration(::windows::core::IUnknown); impl NetworkOperatorTetheringAccessPointConfiguration { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12126,7 +12126,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a P pub struct ProvisioningAgent(::windows::core::IUnknown); impl ProvisioningAgent { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs index f81a12b755..9a7fe16bfc 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -4,7 +4,7 @@ pub struct DnssdRegistrationResult(::windows::core::IUnknown); impl DnssdRegistrationResult { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 517e93cbae..549171c421 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -369,7 +369,7 @@ unsafe impl ::windows::core::RuntimeType for ControlChannelTriggerStatus { pub struct DatagramSocket(::windows::core::IUnknown); impl DatagramSocket { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3070,7 +3070,7 @@ pub struct IWebSocketServerCustomValidationRequestedEventArgs_Vtbl { pub struct MessageWebSocket(::windows::core::IUnknown); impl MessageWebSocket { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5228,7 +5228,7 @@ unsafe impl ::windows::core::RuntimeType for SocketSslErrorSeverity { pub struct StreamSocket(::windows::core::IUnknown); impl StreamSocket { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5873,7 +5873,7 @@ unsafe impl ::core::marker::Sync for StreamSocketInformation {} pub struct StreamSocketListener(::windows::core::IUnknown); impl StreamSocketListener { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6397,7 +6397,7 @@ unsafe impl ::core::marker::Sync for StreamSocketListenerInformation {} pub struct StreamWebSocket(::windows::core::IUnknown); impl StreamWebSocket { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7147,7 +7147,7 @@ pub struct WebSocketKeepAlive(::windows::core::IUnknown); #[cfg(feature = "ApplicationModel_Background")] impl WebSocketKeepAlive { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index 6069d79bca..d225bc95e3 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -3222,7 +3222,7 @@ unsafe impl ::windows::core::RuntimeType for VpnCredentialType { pub struct VpnCustomCheckBox(::windows::core::IUnknown); impl VpnCustomCheckBox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3388,7 +3388,7 @@ unsafe impl ::core::marker::Sync for VpnCustomCheckBox {} pub struct VpnCustomComboBox(::windows::core::IUnknown); impl VpnCustomComboBox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3556,7 +3556,7 @@ unsafe impl ::core::marker::Sync for VpnCustomComboBox {} pub struct VpnCustomEditBox(::windows::core::IUnknown); impl VpnCustomEditBox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3735,7 +3735,7 @@ unsafe impl ::core::marker::Sync for VpnCustomEditBox {} pub struct VpnCustomErrorBox(::windows::core::IUnknown); impl VpnCustomErrorBox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3880,7 +3880,7 @@ unsafe impl ::core::marker::Sync for VpnCustomErrorBox {} pub struct VpnCustomPromptBooleanInput(::windows::core::IUnknown); impl VpnCustomPromptBooleanInput { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4046,7 +4046,7 @@ unsafe impl ::core::marker::Sync for VpnCustomPromptBooleanInput {} pub struct VpnCustomPromptOptionSelector(::windows::core::IUnknown); impl VpnCustomPromptOptionSelector { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4208,7 +4208,7 @@ unsafe impl ::core::marker::Sync for VpnCustomPromptOptionSelector {} pub struct VpnCustomPromptText(::windows::core::IUnknown); impl VpnCustomPromptText { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4366,7 +4366,7 @@ unsafe impl ::core::marker::Sync for VpnCustomPromptText {} pub struct VpnCustomPromptTextInput(::windows::core::IUnknown); impl VpnCustomPromptTextInput { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4545,7 +4545,7 @@ unsafe impl ::core::marker::Sync for VpnCustomPromptTextInput {} pub struct VpnCustomTextBox(::windows::core::IUnknown); impl VpnCustomTextBox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4737,7 +4737,7 @@ unsafe impl ::windows::core::RuntimeType for VpnDataPathType { pub struct VpnDomainNameAssignment(::windows::core::IUnknown); impl VpnDomainNameAssignment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5429,7 +5429,7 @@ unsafe impl ::core::marker::Sync for VpnInterfaceId {} pub struct VpnManagementAgent(::windows::core::IUnknown); impl VpnManagementAgent { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5681,7 +5681,7 @@ unsafe impl ::windows::core::RuntimeType for VpnManagementErrorStatus { pub struct VpnNamespaceAssignment(::windows::core::IUnknown); impl VpnNamespaceAssignment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5928,7 +5928,7 @@ unsafe impl ::core::marker::Sync for VpnNamespaceInfo {} pub struct VpnNativeProfile(::windows::core::IUnknown); impl VpnNativeProfile { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6701,7 +6701,7 @@ unsafe impl ::core::marker::Sync for VpnPickedCredential {} pub struct VpnPlugInProfile(::windows::core::IUnknown); impl VpnPlugInProfile { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7053,7 +7053,7 @@ unsafe impl ::core::marker::Sync for VpnRoute {} pub struct VpnRouteAssignment(::windows::core::IUnknown); impl VpnRouteAssignment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7503,7 +7503,7 @@ unsafe impl ::core::marker::Sync for VpnTrafficFilter {} pub struct VpnTrafficFilterAssignment(::windows::core::IUnknown); impl VpnTrafficFilterAssignment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs index 31ebc6df8e..d2c783b018 100644 --- a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs @@ -1361,7 +1361,7 @@ unsafe impl ::windows::core::RuntimeType for XboxLiveNetworkAccessKind { pub struct XboxLiveQualityOfServiceMeasurement(::windows::core::IUnknown); impl XboxLiveQualityOfServiceMeasurement { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs index 634a7f3c4f..88e906c11e 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -554,7 +554,7 @@ unsafe impl ::core::marker::Sync for SpatialSurfaceMeshBuffer {} pub struct SpatialSurfaceMeshOptions(::windows::core::IUnknown); impl SpatialSurfaceMeshOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -725,7 +725,7 @@ unsafe impl ::core::marker::Sync for SpatialSurfaceMeshOptions {} pub struct SpatialSurfaceObserver(::windows::core::IUnknown); impl SpatialSurfaceObserver { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index 8855965bc6..c4886c58d2 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -6,7 +6,7 @@ pub mod Provisioning; pub struct ContactAddress(::windows::core::IUnknown); impl ContactAddress { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -299,7 +299,7 @@ unsafe impl ::windows::core::RuntimeType for ContactChangeType { pub struct ContactInformation(::windows::core::IUnknown); impl ContactInformation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -537,7 +537,7 @@ unsafe impl ::core::marker::Sync for ContactInformation {} pub struct ContactQueryOptions(::windows::core::IUnknown); impl ContactQueryOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index ce4bd3eca8..c2eb010e50 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -4,7 +4,7 @@ pub struct DualSimTile(::windows::core::IUnknown); impl DualSimTile { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs index ab81c2b735..e4401d2e77 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -201,7 +201,7 @@ pub struct IUserIdentity_Vtbl { pub struct OnlineIdAuthenticator(::windows::core::IUnknown); impl OnlineIdAuthenticator { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs index c034a670a4..ac6c210844 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Core/mod.rs @@ -1350,7 +1350,7 @@ unsafe impl ::windows::core::RuntimeType for WebTokenRequestStatus { pub struct WebTokenResponse(::windows::core::IUnknown); impl WebTokenResponse { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs index d8984674d1..d047665da1 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs @@ -79,7 +79,7 @@ impl ::windows::core::RuntimeName for CredentialPicker { pub struct CredentialPickerOptions(::windows::core::IUnknown); impl CredentialPickerOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index b5ee9b3612..8813f7620e 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -977,7 +977,7 @@ unsafe impl ::windows::core::RuntimeType for KeyCredentialStatus { pub struct PasswordCredential(::windows::core::IUnknown); impl PasswordCredential { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1128,7 +1128,7 @@ pub struct PasswordCredentialPropertyStore(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PasswordCredentialPropertyStore { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1430,7 +1430,7 @@ unsafe impl ::core::marker::Sync for PasswordCredentialPropertyStore {} pub struct PasswordVault(::windows::core::IUnknown); impl PasswordVault { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs index 839d299c7b..c73a52dd37 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -496,7 +496,7 @@ impl ::windows::core::RuntimeName for CertificateEnrollmentManager { pub struct CertificateExtension(::windows::core::IUnknown); impl CertificateExtension { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -624,7 +624,7 @@ unsafe impl ::core::marker::Sync for CertificateExtension {} pub struct CertificateKeyUsages(::windows::core::IUnknown); impl CertificateKeyUsages { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -812,7 +812,7 @@ unsafe impl ::core::marker::Sync for CertificateKeyUsages {} pub struct CertificateQuery(::windows::core::IUnknown); impl CertificateQuery { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -996,7 +996,7 @@ unsafe impl ::core::marker::Sync for CertificateQuery {} pub struct CertificateRequestProperties(::windows::core::IUnknown); impl CertificateRequestProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1483,7 +1483,7 @@ impl ::windows::core::RuntimeName for CertificateStores { pub struct ChainBuildingParameters(::windows::core::IUnknown); impl ChainBuildingParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1652,7 +1652,7 @@ unsafe impl ::core::marker::Sync for ChainBuildingParameters {} pub struct ChainValidationParameters(::windows::core::IUnknown); impl ChainValidationParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2077,7 +2077,7 @@ unsafe impl ::core::marker::Sync for CmsDetachedSignature {} pub struct CmsSignerInfo(::windows::core::IUnknown); impl CmsSignerInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3594,7 +3594,7 @@ impl ::windows::core::RuntimeName for KeyStorageProviderNames { pub struct PfxImportParameters(::windows::core::IUnknown); impl PfxImportParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3839,7 +3839,7 @@ impl ::windows::core::RuntimeName for StandardCertificateStoreNames { pub struct SubjectAlternativeNameInfo(::windows::core::IUnknown); impl SubjectAlternativeNameInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs index 896c411377..98a3d69725 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs @@ -4,7 +4,7 @@ pub struct DataProtectionProvider(::windows::core::IUnknown); impl DataProtectionProvider { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs index 352954a3cb..97c92ba26e 100644 --- a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs @@ -4,7 +4,7 @@ pub struct EasClientDeviceInformation(::windows::core::IUnknown); impl EasClientDeviceInformation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -150,7 +150,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a E pub struct EasClientSecurityPolicy(::windows::core::IUnknown); impl EasClientSecurityPolicy { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index 2a43916801..125edca9c5 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -1528,7 +1528,7 @@ unsafe impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentLaunchFil pub struct IsolatedWindowsEnvironmentOptions(::windows::core::IUnknown); impl IsolatedWindowsEnvironmentOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1760,7 +1760,7 @@ impl ::windows::core::RuntimeName for IsolatedWindowsEnvironmentOwnerRegistratio pub struct IsolatedWindowsEnvironmentOwnerRegistrationData(::windows::core::IUnknown); impl IsolatedWindowsEnvironmentOwnerRegistrationData { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2320,7 +2320,7 @@ unsafe impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentProgressS pub struct IsolatedWindowsEnvironmentShareFileRequestOptions(::windows::core::IUnknown); impl IsolatedWindowsEnvironmentShareFileRequestOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2556,7 +2556,7 @@ unsafe impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentShareFile pub struct IsolatedWindowsEnvironmentShareFolderRequestOptions(::windows::core::IUnknown); impl IsolatedWindowsEnvironmentShareFolderRequestOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2921,7 +2921,7 @@ unsafe impl ::windows::core::RuntimeType for IsolatedWindowsEnvironmentStartProc pub struct IsolatedWindowsEnvironmentTelemetryParameters(::windows::core::IUnknown); impl IsolatedWindowsEnvironmentTelemetryParameters { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Services/Cortana/mod.rs b/crates/libs/windows/src/Windows/Services/Cortana/mod.rs index f1263e1109..3175508dbc 100644 --- a/crates/libs/windows/src/Windows/Services/Cortana/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Cortana/mod.rs @@ -196,7 +196,7 @@ pub struct CortanaActionableInsightsOptions(::windows::core::IUnknown); #[cfg(feature = "deprecated")] impl CortanaActionableInsightsOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index bcefc8251b..b7a53a997f 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -1750,7 +1750,7 @@ unsafe impl ::core::marker::Sync for MapRoute {} pub struct MapRouteDrivingOptions(::windows::core::IUnknown); impl MapRouteDrivingOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2918,7 +2918,7 @@ unsafe impl ::core::marker::Sync for PlaceInfo {} pub struct PlaceInfoCreateOptions(::windows::core::IUnknown); impl PlaceInfoCreateOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index c265915e0b..667b5cf234 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -2451,7 +2451,7 @@ unsafe impl ::core::marker::Sync for StoreLicense {} pub struct StorePackageInstallOptions(::windows::core::IUnknown); impl StorePackageInstallOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3335,7 +3335,7 @@ unsafe impl ::core::marker::Sync for StoreProduct {} pub struct StoreProductOptions(::windows::core::IUnknown); impl StoreProductOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3726,7 +3726,7 @@ unsafe impl ::core::marker::Sync for StoreProductResult {} pub struct StorePurchaseProperties(::windows::core::IUnknown); impl StorePurchaseProperties { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index d234132051..4f07261bf6 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -266,7 +266,7 @@ unsafe impl ::core::marker::Sync for FileExtensionVector {} pub struct FileOpenPicker(::windows::core::IUnknown); impl FileOpenPicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -933,7 +933,7 @@ unsafe impl ::core::marker::Sync for FilePickerSelectedFilesArray {} pub struct FileSavePicker(::windows::core::IUnknown); impl FileSavePicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1163,7 +1163,7 @@ unsafe impl ::core::marker::Sync for FileSavePicker {} pub struct FolderPicker(::windows::core::IUnknown); impl FolderPicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index 0b22399ba2..86e3109e15 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -1923,7 +1923,7 @@ unsafe impl ::core::marker::Sync for StorageProviderFileTypeInfo {} pub struct StorageProviderGetContentInfoForPathResult(::windows::core::IUnknown); impl StorageProviderGetContentInfoForPathResult { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2046,7 +2046,7 @@ unsafe impl ::core::marker::Sync for StorageProviderGetContentInfoForPathResult pub struct StorageProviderGetPathForContentUriResult(::windows::core::IUnknown); impl StorageProviderGetPathForContentUriResult { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2411,7 +2411,7 @@ impl ::windows::core::RuntimeName for StorageProviderItemProperties { pub struct StorageProviderItemProperty(::windows::core::IUnknown); impl StorageProviderItemProperty { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2534,7 +2534,7 @@ unsafe impl ::core::marker::Sync for StorageProviderItemProperty {} pub struct StorageProviderItemPropertyDefinition(::windows::core::IUnknown); impl StorageProviderItemPropertyDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2872,7 +2872,7 @@ unsafe impl ::core::marker::Sync for StorageProviderStatus {} pub struct StorageProviderSyncRootInfo(::windows::core::IUnknown); impl StorageProviderSyncRootInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index 8d22f04d94..dc0f944229 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -1347,7 +1347,7 @@ pub struct IValueAndLanguage_Vtbl { pub struct IndexableContent(::windows::core::IUnknown); impl IndexableContent { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1575,7 +1575,7 @@ unsafe impl ::windows::core::RuntimeType for IndexerOption { pub struct QueryOptions(::windows::core::IUnknown); impl QueryOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2849,7 +2849,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a S pub struct ValueAndLanguage(::windows::core::IUnknown); impl ValueAndLanguage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index e9aecdf6f4..c97cdc6941 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -787,7 +787,7 @@ unsafe impl ::core::marker::Sync for DataReaderLoadOperation {} pub struct DataWriter(::windows::core::IUnknown); impl DataWriter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4036,7 +4036,7 @@ pub struct IRandomAccessStreamWithContentType_Vtbl { pub struct InMemoryRandomAccessStream(::windows::core::IUnknown); impl InMemoryRandomAccessStream { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index aeb5547428..88c86acff3 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -461,7 +461,7 @@ pub struct ApplicationDataCompositeValue(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ApplicationDataCompositeValue { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7536,7 +7536,7 @@ unsafe impl ::core::marker::Sync for StorageLibraryChangeTracker {} pub struct StorageLibraryChangeTrackerOptions(::windows::core::IUnknown); impl StorageLibraryChangeTrackerOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs index f83538ed06..ff1eb9b341 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs @@ -158,7 +158,7 @@ unsafe impl ::core::marker::Sync for PlatformTelemetryRegistrationResult {} pub struct PlatformTelemetryRegistrationSettings(::windows::core::IUnknown); impl PlatformTelemetryRegistrationSettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/System/Display/mod.rs b/crates/libs/windows/src/Windows/System/Display/mod.rs index 678535006d..108b013f7c 100644 --- a/crates/libs/windows/src/Windows/System/Display/mod.rs +++ b/crates/libs/windows/src/Windows/System/Display/mod.rs @@ -4,7 +4,7 @@ pub struct DisplayRequest(::windows::core::IUnknown); impl DisplayRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index cda0881f2a..74066bf90e 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -3629,7 +3629,7 @@ unsafe impl ::core::marker::Sync for RemoteSystemSessionInvitation {} pub struct RemoteSystemSessionInvitationListener(::windows::core::IUnknown); impl RemoteSystemSessionInvitationListener { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4307,7 +4307,7 @@ unsafe impl ::windows::core::RuntimeType for RemoteSystemSessionMessageChannelRe pub struct RemoteSystemSessionOptions(::windows::core::IUnknown); impl RemoteSystemSessionOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 1772bdd951..249b6c212a 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -1832,7 +1832,7 @@ unsafe impl ::core::marker::Sync for AppResourceGroupStateReport {} pub struct AppUriHandlerHost(::windows::core::IUnknown); impl AppUriHandlerHost { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2913,7 +2913,7 @@ unsafe impl ::core::marker::Sync for DispatcherQueueTimer {} pub struct FolderLauncherOptions(::windows::core::IUnknown); impl FolderLauncherOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5356,7 +5356,7 @@ impl ::windows::core::RuntimeName for Launcher { pub struct LauncherOptions(::windows::core::IUnknown); impl LauncherOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5918,7 +5918,7 @@ impl ::windows::core::RuntimeName for ProcessLauncher { pub struct ProcessLauncherOptions(::windows::core::IUnknown); impl ProcessLauncherOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6436,7 +6436,7 @@ impl ::windows::core::RuntimeName for RemoteLauncher { pub struct RemoteLauncherOptions(::windows::core::IUnknown); impl RemoteLauncherOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7388,7 +7388,7 @@ unsafe impl ::core::marker::Sync for UserDeviceAssociationChangedEventArgs {} pub struct UserPicker(::windows::core::IUnknown); impl UserPicker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs index ab185c44cf..be8b129316 100644 --- a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs @@ -136,7 +136,7 @@ unsafe impl ::core::marker::Sync for ScreenReaderPositionChangedEventArgs {} pub struct ScreenReaderService(::windows::core::IUnknown); impl ScreenReaderService { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs index ac1a595863..9c82307a34 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs @@ -4,7 +4,7 @@ pub struct CompositorController(::windows::core::IUnknown); impl CompositorController { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs index a98210ec39..97b6ad2132 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs @@ -46,7 +46,7 @@ pub struct ISceneLightingEffect2_Vtbl { pub struct SceneLightingEffect(::windows::core::IUnknown); impl SceneLightingEffect { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index 7fe6dedd32..9592bb36f7 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -21515,7 +21515,7 @@ unsafe impl ::core::marker::Sync for CompositionVisualSurface {} pub struct Compositor(::windows::core::IUnknown); impl Compositor { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index 5b854e2a71..1a108a72b0 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -3279,7 +3279,7 @@ unsafe impl ::windows::core::RuntimeType for CoreWindowActivationState { pub struct CoreWindowDialog(::windows::core::IUnknown); impl CoreWindowDialog { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs index f65c72dc6d..fd06b52392 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs @@ -2192,7 +2192,7 @@ unsafe impl ::core::marker::Sync for InkAnalysisWritingRegion {} pub struct InkAnalyzer(::windows::core::IUnknown); impl InkAnalyzer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs index c19244904b..1ef0977362 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Core/mod.rs @@ -354,7 +354,7 @@ unsafe impl ::core::marker::Sync for CoreInkIndependentInputSource {} pub struct CoreInkPresenterHost(::windows::core::IUnknown); impl CoreInkPresenterHost { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs index c7d83ad798..4064a6b6c9 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -1590,7 +1590,7 @@ pub struct IPenAndInkSettingsStatics_Vtbl { pub struct InkDrawingAttributes(::windows::core::IUnknown); impl InkDrawingAttributes { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2265,7 +2265,7 @@ unsafe impl ::windows::core::RuntimeType for InkInputRightDragAction { pub struct InkManager(::windows::core::IUnknown); impl InkManager { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3907,7 +3907,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a I pub struct InkRecognizerContainer(::windows::core::IUnknown); impl InkRecognizerContainer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4241,7 +4241,7 @@ unsafe impl ::core::marker::Sync for InkStroke {} pub struct InkStrokeBuilder(::windows::core::IUnknown); impl InkStrokeBuilder { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4376,7 +4376,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a I pub struct InkStrokeContainer(::windows::core::IUnknown); impl InkStrokeContainer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs index 7b5b77b527..77dc70ed76 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/Injection/mod.rs @@ -254,7 +254,7 @@ unsafe impl ::windows::core::RuntimeType for InjectedInputButtonChangeKind { pub struct InjectedInputGamepadInfo(::windows::core::IUnknown); impl InjectedInputGamepadInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -507,7 +507,7 @@ unsafe impl ::windows::core::RuntimeType for InjectedInputKeyOptions { pub struct InjectedInputKeyboardInfo(::windows::core::IUnknown); impl InjectedInputKeyboardInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -628,7 +628,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a I pub struct InjectedInputMouseInfo(::windows::core::IUnknown); impl InjectedInputMouseInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -914,7 +914,7 @@ unsafe impl ::windows::core::RuntimeType for InjectedInputPenButtons { pub struct InjectedInputPenInfo(::windows::core::IUnknown); impl InjectedInputPenInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1379,7 +1379,7 @@ unsafe impl ::windows::core::RuntimeType for InjectedInputShortcut { pub struct InjectedInputTouchInfo(::windows::core::IUnknown); impl InjectedInputTouchInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index 3d144a1fd9..480c924dc1 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -739,7 +739,7 @@ unsafe impl ::windows::core::RuntimeType for GazeInputAccessStatus { pub struct GestureRecognizer(::windows::core::IUnknown); impl GestureRecognizer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index ac8708b832..fa1140c32a 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -39,7 +39,7 @@ unsafe impl ::windows::core::RuntimeType for AdaptiveNotificationContentKind { pub struct AdaptiveNotificationText(::windows::core::IUnknown); impl AdaptiveNotificationText { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2169,7 +2169,7 @@ impl ::windows::core::RuntimeName for KnownNotificationBindings { pub struct Notification(::windows::core::IUnknown); impl Notification { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2402,7 +2402,7 @@ unsafe impl ::core::marker::Sync for NotificationBinding {} pub struct NotificationData(::windows::core::IUnknown); impl NotificationData { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index 90bd518fac..5b107ad5af 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -489,7 +489,7 @@ unsafe impl ::windows::core::RuntimeType for Placement { pub struct PopupMenu(::windows::core::IUnknown); impl PopupMenu { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -607,7 +607,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a P pub struct UICommand(::windows::core::IUnknown); impl UICommand { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -860,7 +860,7 @@ pub struct UICommandInvokedHandler_Vtbl { pub struct UICommandSeparator(::windows::core::IUnknown); impl UICommandSeparator { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 4d71b18236..9abf005d46 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -375,7 +375,7 @@ unsafe impl ::windows::core::RuntimeType for SecurityAppKind { pub struct SecurityAppManager(::windows::core::IUnknown); impl SecurityAppManager { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index 3188699ec5..6fb99e4bcf 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -968,7 +968,7 @@ unsafe impl ::windows::core::RuntimeType for JumpListSystemGroupKind { pub struct SecondaryTile(::windows::core::IUnknown); impl SecondaryTile { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index e59b537cb5..94933d78f0 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -40,7 +40,7 @@ unsafe impl ::windows::core::RuntimeType for CaretType { pub struct ContentLinkInfo(::windows::core::IUnknown); impl ContentLinkInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs index 78e5f079cc..8d3799e517 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -255,7 +255,7 @@ impl ::windows::core::RuntimeName for CoreAutomationRegistrar { pub struct CoreAutomationRemoteOperation(::windows::core::IUnknown); impl CoreAutomationRemoteOperation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs index e2e539c9a9..da6e5dc2ba 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -6,7 +6,7 @@ pub mod Core; pub struct AccessibilitySettings(::windows::core::IUnknown); impl AccessibilitySettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1459,7 +1459,7 @@ unsafe impl ::core::marker::Sync for ApplicationViewTitleBar {} pub struct ApplicationViewTransferContext(::windows::core::IUnknown); impl ApplicationViewTransferContext { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3537,7 +3537,7 @@ unsafe impl ::windows::core::RuntimeType for UIElementType { pub struct UISettings(::windows::core::IUnknown); impl UISettings { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs index a4e50facac..6c18eefca1 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -858,7 +858,7 @@ unsafe impl ::core::marker::Sync for WebUICommandBar {} pub struct WebUICommandBarBitmapIcon(::windows::core::IUnknown); impl WebUICommandBarBitmapIcon { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1027,7 +1027,7 @@ unsafe impl ::windows::core::RuntimeType for WebUICommandBarClosedDisplayMode { pub struct WebUICommandBarConfirmationButton(::windows::core::IUnknown); impl WebUICommandBarConfirmationButton { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1161,7 +1161,7 @@ unsafe impl ::core::marker::Sync for WebUICommandBarConfirmationButton {} pub struct WebUICommandBarIconButton(::windows::core::IUnknown); impl WebUICommandBarIconButton { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1518,7 +1518,7 @@ unsafe impl ::core::marker::Sync for WebUICommandBarSizeChangedEventArgs {} pub struct WebUICommandBarSymbolIcon(::windows::core::IUnknown); impl WebUICommandBarSymbolIcon { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs index d474850072..1f2da1fd3c 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs @@ -1559,7 +1559,7 @@ unsafe impl ::windows::core::RuntimeType for AppWindowTitleBarVisibility { pub struct CompactOverlayPresentationConfiguration(::windows::core::IUnknown); impl CompactOverlayPresentationConfiguration { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1671,7 +1671,7 @@ unsafe impl ::core::marker::Sync for CompactOverlayPresentationConfiguration {} pub struct DefaultPresentationConfiguration(::windows::core::IUnknown); impl DefaultPresentationConfiguration { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1917,7 +1917,7 @@ unsafe impl ::core::marker::Sync for DisplayRegion {} pub struct FullScreenPresentationConfiguration(::windows::core::IUnknown); impl FullScreenPresentationConfiguration { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/mod.rs index fcad42ad0f..2db48ccbab 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Automation/Peers/mod.rs @@ -2012,7 +2012,7 @@ unsafe impl ::core::marker::Sync for AutomationPeer {} pub struct AutomationPeerAnnotation(::windows::core::IUnknown); impl AutomationPeerAnnotation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Automation/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Automation/mod.rs index 6309ad234d..47ffc708b6 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Automation/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Automation/mod.rs @@ -257,7 +257,7 @@ unsafe impl ::windows::core::RuntimeType for AutomationAnimationStyle { pub struct AutomationAnnotation(::windows::core::IUnknown); impl AutomationAnnotation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs index 39617d15e9..1f6a38c6b8 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Maps/mod.rs @@ -3094,7 +3094,7 @@ unsafe impl ::core::marker::Sync for LocalMapTileDataSource {} pub struct MapActualCameraChangedEventArgs(::windows::core::IUnknown); impl MapActualCameraChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3194,7 +3194,7 @@ unsafe impl ::core::marker::Sync for MapActualCameraChangedEventArgs {} pub struct MapActualCameraChangingEventArgs(::windows::core::IUnknown); impl MapActualCameraChangingEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3821,7 +3821,7 @@ unsafe impl ::windows::core::RuntimeType for MapColorScheme { pub struct MapContextRequestedEventArgs(::windows::core::IUnknown); impl MapContextRequestedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3932,7 +3932,7 @@ unsafe impl ::core::marker::Sync for MapContextRequestedEventArgs {} pub struct MapControl(::windows::core::IUnknown); impl MapControl { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5501,7 +5501,7 @@ unsafe impl ::core::marker::Sync for MapControl {} pub struct MapControlBusinessLandmarkClickEventArgs(::windows::core::IUnknown); impl MapControlBusinessLandmarkClickEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5594,7 +5594,7 @@ unsafe impl ::core::marker::Sync for MapControlBusinessLandmarkClickEventArgs {} pub struct MapControlBusinessLandmarkPointerEnteredEventArgs(::windows::core::IUnknown); impl MapControlBusinessLandmarkPointerEnteredEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5687,7 +5687,7 @@ unsafe impl ::core::marker::Sync for MapControlBusinessLandmarkPointerEnteredEve pub struct MapControlBusinessLandmarkPointerExitedEventArgs(::windows::core::IUnknown); impl MapControlBusinessLandmarkPointerExitedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5780,7 +5780,7 @@ unsafe impl ::core::marker::Sync for MapControlBusinessLandmarkPointerExitedEven pub struct MapControlBusinessLandmarkRightTappedEventArgs(::windows::core::IUnknown); impl MapControlBusinessLandmarkRightTappedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6114,7 +6114,7 @@ unsafe impl ::core::marker::Sync for MapControlDataHelper {} pub struct MapControlTransitFeatureClickEventArgs(::windows::core::IUnknown); impl MapControlTransitFeatureClickEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6224,7 +6224,7 @@ unsafe impl ::core::marker::Sync for MapControlTransitFeatureClickEventArgs {} pub struct MapControlTransitFeaturePointerEnteredEventArgs(::windows::core::IUnknown); impl MapControlTransitFeaturePointerEnteredEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6334,7 +6334,7 @@ unsafe impl ::core::marker::Sync for MapControlTransitFeaturePointerEnteredEvent pub struct MapControlTransitFeaturePointerExitedEventArgs(::windows::core::IUnknown); impl MapControlTransitFeaturePointerExitedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6444,7 +6444,7 @@ unsafe impl ::core::marker::Sync for MapControlTransitFeaturePointerExitedEventA pub struct MapControlTransitFeatureRightTappedEventArgs(::windows::core::IUnknown); impl MapControlTransitFeatureRightTappedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6671,7 +6671,7 @@ unsafe impl ::core::marker::Sync for MapCustomExperience {} pub struct MapCustomExperienceChangedEventArgs(::windows::core::IUnknown); impl MapCustomExperienceChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7032,7 +7032,7 @@ unsafe impl ::core::marker::Sync for MapElement {} pub struct MapElement3D(::windows::core::IUnknown); impl MapElement3D { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7278,7 +7278,7 @@ unsafe impl ::core::marker::Sync for MapElement3D {} pub struct MapElementClickEventArgs(::windows::core::IUnknown); impl MapElementClickEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7423,7 +7423,7 @@ unsafe impl ::windows::core::RuntimeType for MapElementCollisionBehavior { pub struct MapElementPointerEnteredEventArgs(::windows::core::IUnknown); impl MapElementPointerEnteredEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7533,7 +7533,7 @@ unsafe impl ::core::marker::Sync for MapElementPointerEnteredEventArgs {} pub struct MapElementPointerExitedEventArgs(::windows::core::IUnknown); impl MapElementPointerExitedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7643,7 +7643,7 @@ unsafe impl ::core::marker::Sync for MapElementPointerExitedEventArgs {} pub struct MapElementsLayer(::windows::core::IUnknown); impl MapElementsLayer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7854,7 +7854,7 @@ unsafe impl ::core::marker::Sync for MapElementsLayer {} pub struct MapElementsLayerClickEventArgs(::windows::core::IUnknown); impl MapElementsLayerClickEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7965,7 +7965,7 @@ unsafe impl ::core::marker::Sync for MapElementsLayerClickEventArgs {} pub struct MapElementsLayerContextRequestedEventArgs(::windows::core::IUnknown); impl MapElementsLayerContextRequestedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8076,7 +8076,7 @@ unsafe impl ::core::marker::Sync for MapElementsLayerContextRequestedEventArgs { pub struct MapElementsLayerPointerEnteredEventArgs(::windows::core::IUnknown); impl MapElementsLayerPointerEnteredEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8186,7 +8186,7 @@ unsafe impl ::core::marker::Sync for MapElementsLayerPointerEnteredEventArgs {} pub struct MapElementsLayerPointerExitedEventArgs(::windows::core::IUnknown); impl MapElementsLayerPointerExitedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8296,7 +8296,7 @@ unsafe impl ::core::marker::Sync for MapElementsLayerPointerExitedEventArgs {} pub struct MapIcon(::windows::core::IUnknown); impl MapIcon { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8529,7 +8529,7 @@ unsafe impl ::core::marker::Sync for MapIcon {} pub struct MapInputEventArgs(::windows::core::IUnknown); impl MapInputEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8691,7 +8691,7 @@ unsafe impl ::windows::core::RuntimeType for MapInteractionMode { pub struct MapItemsControl(::windows::core::IUnknown); impl MapItemsControl { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9281,7 +9281,7 @@ unsafe impl ::windows::core::RuntimeType for MapPanInteractionMode { pub struct MapPolygon(::windows::core::IUnknown); impl MapPolygon { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9507,7 +9507,7 @@ unsafe impl ::core::marker::Sync for MapPolygon {} pub struct MapPolyline(::windows::core::IUnknown); impl MapPolyline { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9738,7 +9738,7 @@ unsafe impl ::windows::core::RuntimeType for MapProjection { pub struct MapRightTappedEventArgs(::windows::core::IUnknown); impl MapRightTappedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10889,7 +10889,7 @@ impl ::windows::core::RuntimeName for MapStyleSheetEntryStates { pub struct MapTargetCameraChangedEventArgs(::windows::core::IUnknown); impl MapTargetCameraChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11024,7 +11024,7 @@ unsafe impl ::windows::core::RuntimeType for MapTileAnimationState { pub struct MapTileBitmapRequest(::windows::core::IUnknown); impl MapTileBitmapRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11131,7 +11131,7 @@ unsafe impl ::core::marker::Sync for MapTileBitmapRequest {} pub struct MapTileBitmapRequestDeferral(::windows::core::IUnknown); impl MapTileBitmapRequestDeferral { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11220,7 +11220,7 @@ unsafe impl ::core::marker::Sync for MapTileBitmapRequestDeferral {} pub struct MapTileBitmapRequestedEventArgs(::windows::core::IUnknown); impl MapTileBitmapRequestedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12003,7 +12003,7 @@ unsafe impl ::core::marker::Sync for MapTileSource {} pub struct MapTileUriRequest(::windows::core::IUnknown); impl MapTileUriRequest { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12110,7 +12110,7 @@ unsafe impl ::core::marker::Sync for MapTileUriRequest {} pub struct MapTileUriRequestDeferral(::windows::core::IUnknown); impl MapTileUriRequestDeferral { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12199,7 +12199,7 @@ unsafe impl ::core::marker::Sync for MapTileUriRequestDeferral {} pub struct MapTileUriRequestedEventArgs(::windows::core::IUnknown); impl MapTileUriRequestedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/mod.rs index cb744ac011..49e7087b30 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Controls/Primitives/mod.rs @@ -769,7 +769,7 @@ unsafe impl ::core::marker::Sync for ButtonBase {} pub struct CalendarPanel(::windows::core::IUnknown); impl CalendarPanel { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9115,7 +9115,7 @@ pub struct ItemsChangedEventHandler_Vtbl { pub struct JumpListItemBackgroundConverter(::windows::core::IUnknown); impl JumpListItemBackgroundConverter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9312,7 +9312,7 @@ unsafe impl ::core::marker::Sync for JumpListItemBackgroundConverter {} pub struct JumpListItemForegroundConverter(::windows::core::IUnknown); impl JumpListItemForegroundConverter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13608,7 +13608,7 @@ unsafe impl ::core::marker::Sync for PivotHeaderItem {} pub struct PivotHeaderPanel(::windows::core::IUnknown); impl PivotHeaderPanel { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13844,7 +13844,7 @@ unsafe impl ::core::marker::Sync for PivotHeaderPanel {} pub struct PivotPanel(::windows::core::IUnknown); impl PivotPanel { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14182,7 +14182,7 @@ unsafe impl ::windows::core::RuntimeType for PlacementMode { pub struct Popup(::windows::core::IUnknown); impl Popup { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15504,7 +15504,7 @@ pub struct RangeBaseValueChangedEventHandler_Vtbl { pub struct RepeatButton(::windows::core::IUnknown); impl RepeatButton { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15805,7 +15805,7 @@ unsafe impl ::core::marker::Sync for RepeatButton {} pub struct ScrollBar(::windows::core::IUnknown); impl ScrollBar { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -16121,7 +16121,7 @@ unsafe impl ::core::marker::Sync for ScrollBar {} pub struct ScrollEventArgs(::windows::core::IUnknown); impl ScrollEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -17397,7 +17397,7 @@ unsafe impl ::core::marker::Sync for SplitViewTemplateSettings {} pub struct Thumb(::windows::core::IUnknown); impl Thumb { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -17683,7 +17683,7 @@ unsafe impl ::core::marker::Sync for Thumb {} pub struct TickBar(::windows::core::IUnknown); impl TickBar { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs index f35f20f6fb..817ff58b8d 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Controls/mod.rs @@ -2242,7 +2242,7 @@ unsafe impl ::core::marker::Sync for AppBarToggleButton {} pub struct AutoSuggestBox(::windows::core::IUnknown); impl AutoSuggestBox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2805,7 +2805,7 @@ unsafe impl ::core::marker::Sync for AutoSuggestBox {} pub struct AutoSuggestBoxQuerySubmittedEventArgs(::windows::core::IUnknown); impl AutoSuggestBoxQuerySubmittedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2925,7 +2925,7 @@ unsafe impl ::core::marker::Sync for AutoSuggestBoxQuerySubmittedEventArgs {} pub struct AutoSuggestBoxSuggestionChosenEventArgs(::windows::core::IUnknown); impl AutoSuggestBoxSuggestionChosenEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3037,7 +3037,7 @@ unsafe impl ::core::marker::Sync for AutoSuggestBoxSuggestionChosenEventArgs {} pub struct AutoSuggestBoxTextChangedEventArgs(::windows::core::IUnknown); impl AutoSuggestBoxTextChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3209,7 +3209,7 @@ unsafe impl ::windows::core::RuntimeType for AutoSuggestionBoxTextChangeReason { pub struct BackClickEventArgs(::windows::core::IUnknown); impl BackClickEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3887,7 +3887,7 @@ unsafe impl ::core::marker::Sync for BitmapIconSource {} pub struct Border(::windows::core::IUnknown); impl Border { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8259,7 +8259,7 @@ unsafe impl ::core::marker::Sync for Canvas {} pub struct CaptureElement(::windows::core::IUnknown); impl CaptureElement { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8836,7 +8836,7 @@ unsafe impl ::core::marker::Sync for CheckBox {} pub struct ChoosingGroupHeaderContainerEventArgs(::windows::core::IUnknown); impl ChoosingGroupHeaderContainerEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8949,7 +8949,7 @@ unsafe impl ::core::marker::Sync for ChoosingGroupHeaderContainerEventArgs {} pub struct ChoosingItemContainerEventArgs(::windows::core::IUnknown); impl ChoosingItemContainerEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10152,7 +10152,7 @@ unsafe impl ::windows::core::RuntimeType for ColorSpectrumShape { pub struct ColumnDefinition(::windows::core::IUnknown); impl ColumnDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12647,7 +12647,7 @@ unsafe impl ::core::marker::Sync for CommandBarOverflowPresenter {} pub struct ContainerContentChangingEventArgs(::windows::core::IUnknown); impl ContainerContentChangingEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -16624,7 +16624,7 @@ unsafe impl ::core::marker::Sync for Control {} pub struct ControlTemplate(::windows::core::IUnknown); impl ControlTemplate { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -16911,7 +16911,7 @@ unsafe impl ::core::marker::Sync for DataTemplateSelector {} pub struct DatePickedEventArgs(::windows::core::IUnknown); impl DatePickedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -17615,7 +17615,7 @@ unsafe impl ::core::marker::Sync for DatePicker {} pub struct DatePickerFlyout(::windows::core::IUnknown); impl DatePickerFlyout { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -18795,7 +18795,7 @@ unsafe impl ::core::marker::Sync for DragItemsCompletedEventArgs {} pub struct DragItemsStartingEventArgs(::windows::core::IUnknown); impl DragItemsStartingEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -19571,7 +19571,7 @@ unsafe impl ::core::marker::Sync for DropDownButtonAutomationPeer {} pub struct DynamicOverflowItemsChangingEventArgs(::windows::core::IUnknown); impl DynamicOverflowItemsChangingEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -26003,7 +26003,7 @@ unsafe impl ::core::marker::Sync for HubSectionCollection {} pub struct HubSectionHeaderClickEventArgs(::windows::core::IUnknown); impl HubSectionHeaderClickEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -45142,7 +45142,7 @@ unsafe impl ::core::marker::Sync for IconSourceElement {} pub struct Image(::windows::core::IUnknown); impl Image { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -49001,7 +49001,7 @@ unsafe impl ::windows::core::RuntimeType for InkToolbarInitialControls { pub struct InkToolbarIsStencilButtonCheckedChangedEventArgs(::windows::core::IUnknown); impl InkToolbarIsStencilButtonCheckedChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -52131,7 +52131,7 @@ unsafe impl ::core::marker::Sync for IsTextTrimmedChangedEventArgs {} pub struct ItemClickEventArgs(::windows::core::IUnknown); impl ItemClickEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -53362,7 +53362,7 @@ unsafe impl ::core::marker::Sync for ItemsControl {} pub struct ItemsPanelTemplate(::windows::core::IUnknown); impl ItemsPanelTemplate { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -53486,7 +53486,7 @@ unsafe impl ::core::marker::Sync for ItemsPanelTemplate {} pub struct ItemsPickedEventArgs(::windows::core::IUnknown); impl ItemsPickedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -53608,7 +53608,7 @@ unsafe impl ::core::marker::Sync for ItemsPickedEventArgs {} pub struct ItemsPresenter(::windows::core::IUnknown); impl ItemsPresenter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -54050,7 +54050,7 @@ unsafe impl ::core::marker::Sync for ItemsPresenter {} pub struct ItemsStackPanel(::windows::core::IUnknown); impl ItemsStackPanel { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -54466,7 +54466,7 @@ unsafe impl ::windows::core::RuntimeType for ItemsUpdatingScrollMode { pub struct ItemsWrapGrid(::windows::core::IUnknown); impl ItemsWrapGrid { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -55566,7 +55566,7 @@ unsafe impl ::core::marker::Sync for ListBoxItem {} pub struct ListPickerFlyout(::windows::core::IUnknown); impl ListPickerFlyout { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -58597,7 +58597,7 @@ unsafe impl ::windows::core::RuntimeType for ListViewSelectionMode { pub struct MediaElement(::windows::core::IUnknown); impl MediaElement { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -63400,7 +63400,7 @@ unsafe impl ::core::marker::Sync for MenuFlyoutSeparator {} pub struct MenuFlyoutSubItem(::windows::core::IUnknown); impl MenuFlyoutSubItem { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -65950,7 +65950,7 @@ unsafe impl ::core::marker::Sync for NavigationViewItemHeader {} pub struct NavigationViewItemInvokedEventArgs(::windows::core::IUnknown); impl NavigationViewItemInvokedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -68686,7 +68686,7 @@ unsafe impl ::core::marker::Sync for ParallaxView {} pub struct PasswordBox(::windows::core::IUnknown); impl PasswordBox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -70276,7 +70276,7 @@ unsafe impl ::core::marker::Sync for PersonPicture {} pub struct PickerConfirmedEventArgs(::windows::core::IUnknown); impl PickerConfirmedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -70380,7 +70380,7 @@ unsafe impl ::core::marker::Sync for PickerConfirmedEventArgs {} pub struct PickerFlyout(::windows::core::IUnknown); impl PickerFlyout { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -71756,7 +71756,7 @@ unsafe impl ::core::marker::Sync for PivotItem {} pub struct PivotItemEventArgs(::windows::core::IUnknown); impl PivotItemEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -72216,7 +72216,7 @@ unsafe impl ::core::marker::Sync for ProgressBar {} pub struct ProgressRing(::windows::core::IUnknown); impl ProgressRing { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -76853,7 +76853,7 @@ unsafe impl ::windows::core::RuntimeType for RichEditClipboardFormat { pub struct RichTextBlock(::windows::core::IUnknown); impl RichTextBlock { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -77800,7 +77800,7 @@ unsafe impl ::core::marker::Sync for RichTextBlock {} pub struct RichTextBlockOverflow(::windows::core::IUnknown); impl RichTextBlockOverflow { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -78167,7 +78167,7 @@ unsafe impl ::core::marker::Sync for RichTextBlockOverflow {} pub struct RowDefinition(::windows::core::IUnknown); impl RowDefinition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -78640,7 +78640,7 @@ unsafe impl ::windows::core::RuntimeType for ScrollBarVisibility { pub struct ScrollContentPresenter(::windows::core::IUnknown); impl ScrollContentPresenter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -79136,7 +79136,7 @@ unsafe impl ::windows::core::RuntimeType for ScrollMode { pub struct ScrollViewer(::windows::core::IUnknown); impl ScrollViewer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -80554,7 +80554,7 @@ unsafe impl ::core::marker::Sync for ScrollViewerView {} pub struct ScrollViewerViewChangedEventArgs(::windows::core::IUnknown); impl ScrollViewerViewChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -81395,7 +81395,7 @@ unsafe impl ::core::marker::Sync for SearchBoxQuerySubmittedEventArgs {} pub struct SearchBoxResultSuggestionChosenEventArgs(::windows::core::IUnknown); impl SearchBoxResultSuggestionChosenEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -82038,7 +82038,7 @@ unsafe impl ::windows::core::RuntimeType for SelectionMode { pub struct SemanticZoom(::windows::core::IUnknown); impl SemanticZoom { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -82394,7 +82394,7 @@ unsafe impl ::core::marker::Sync for SemanticZoom {} pub struct SemanticZoomLocation(::windows::core::IUnknown); impl SemanticZoomLocation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -82506,7 +82506,7 @@ unsafe impl ::core::marker::Sync for SemanticZoomLocation {} pub struct SemanticZoomViewChangedEventArgs(::windows::core::IUnknown); impl SemanticZoomViewChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -87474,7 +87474,7 @@ unsafe impl ::windows::core::RuntimeType for Symbol { pub struct SymbolIcon(::windows::core::IUnknown); impl SymbolIcon { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -87889,7 +87889,7 @@ unsafe impl ::core::marker::Sync for SymbolIconSource {} pub struct TextBlock(::windows::core::IUnknown); impl TextBlock { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -91187,7 +91187,7 @@ pub struct TextControlPasteEventHandler_Vtbl { pub struct TimePickedEventArgs(::windows::core::IUnknown); impl TimePickedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -91727,7 +91727,7 @@ unsafe impl ::core::marker::Sync for TimePicker {} pub struct TimePickerFlyout(::windows::core::IUnknown); impl TimePickerFlyout { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -93314,7 +93314,7 @@ unsafe impl ::core::marker::Sync for ToggleSplitButtonIsCheckedChangedEventArgs pub struct ToggleSwitch(::windows::core::IUnknown); impl ToggleSwitch { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -97685,7 +97685,7 @@ unsafe impl ::core::marker::Sync for UserControl {} pub struct VariableSizedWrapGrid(::windows::core::IUnknown); impl VariableSizedWrapGrid { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -98062,7 +98062,7 @@ unsafe impl ::core::marker::Sync for VariableSizedWrapGrid {} pub struct Viewbox(::windows::core::IUnknown); impl Viewbox { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -98584,7 +98584,7 @@ unsafe impl ::core::marker::Sync for VirtualizingPanel {} pub struct VirtualizingStackPanel(::windows::core::IUnknown); impl VirtualizingStackPanel { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -98984,7 +98984,7 @@ unsafe impl ::core::marker::Sync for VirtualizingStackPanel {} pub struct WebView(::windows::core::IUnknown); impl WebView { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -99896,7 +99896,7 @@ unsafe impl ::core::marker::Sync for WebView {} pub struct WebViewBrush(::windows::core::IUnknown); impl WebViewBrush { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -101790,7 +101790,7 @@ unsafe impl ::core::marker::Sync for WebViewWebResourceRequestedEventArgs {} pub struct WrapGrid(::windows::core::IUnknown); impl WrapGrid { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs index b3ac0f5f0b..4e85843b36 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Data/mod.rs @@ -716,7 +716,7 @@ unsafe impl ::core::marker::Sync for BindingOperations {} pub struct CollectionViewSource(::windows::core::IUnknown); impl CollectionViewSource { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Documents/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Documents/mod.rs index 53ebc7792e..aa849f0a7f 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Documents/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Documents/mod.rs @@ -491,7 +491,7 @@ unsafe impl ::core::marker::Sync for BlockCollection {} pub struct Bold(::windows::core::IUnknown); impl Bold { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -655,7 +655,7 @@ unsafe impl ::core::marker::Sync for Bold {} pub struct ContactContentLinkProvider(::windows::core::IUnknown); impl ContactContentLinkProvider { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -779,7 +779,7 @@ unsafe impl ::core::marker::Sync for ContactContentLinkProvider {} pub struct ContentLink(::windows::core::IUnknown); impl ContentLink { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1478,7 +1478,7 @@ unsafe impl ::core::marker::Sync for ContentLinkProvider {} pub struct ContentLinkProviderCollection(::windows::core::IUnknown); impl ContentLinkProviderCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1726,7 +1726,7 @@ unsafe impl ::core::marker::Sync for ContentLinkProviderCollection {} pub struct Glyphs(::windows::core::IUnknown); impl Glyphs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2138,7 +2138,7 @@ unsafe impl ::core::marker::Sync for Glyphs {} pub struct Hyperlink(::windows::core::IUnknown); impl Hyperlink { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4448,7 +4448,7 @@ unsafe impl ::core::marker::Sync for InlineCollection {} pub struct InlineUIContainer(::windows::core::IUnknown); impl InlineUIContainer { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4605,7 +4605,7 @@ unsafe impl ::core::marker::Sync for InlineUIContainer {} pub struct Italic(::windows::core::IUnknown); impl Italic { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4769,7 +4769,7 @@ unsafe impl ::core::marker::Sync for Italic {} pub struct LineBreak(::windows::core::IUnknown); impl LineBreak { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4947,7 +4947,7 @@ unsafe impl ::windows::core::RuntimeType for LogicalDirection { pub struct Paragraph(::windows::core::IUnknown); impl Paragraph { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5125,7 +5125,7 @@ unsafe impl ::core::marker::Sync for Paragraph {} pub struct PlaceContentLinkProvider(::windows::core::IUnknown); impl PlaceContentLinkProvider { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5249,7 +5249,7 @@ unsafe impl ::core::marker::Sync for PlaceContentLinkProvider {} pub struct Run(::windows::core::IUnknown); impl Run { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7471,7 +7471,7 @@ unsafe impl ::core::marker::Sync for Typography {} pub struct Underline(::windows::core::IUnknown); impl Underline { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Input/mod.rs index 8f05645534..e6bf86bf89 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Input/mod.rs @@ -4,7 +4,7 @@ pub struct AccessKeyDisplayDismissedEventArgs(::windows::core::IUnknown); impl AccessKeyDisplayDismissedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -88,7 +88,7 @@ unsafe impl ::core::marker::Sync for AccessKeyDisplayDismissedEventArgs {} pub struct AccessKeyDisplayRequestedEventArgs(::windows::core::IUnknown); impl AccessKeyDisplayRequestedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -180,7 +180,7 @@ unsafe impl ::core::marker::Sync for AccessKeyDisplayRequestedEventArgs {} pub struct AccessKeyInvokedEventArgs(::windows::core::IUnknown); impl AccessKeyInvokedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -624,7 +624,7 @@ unsafe impl ::core::marker::Sync for CharacterReceivedRoutedEventArgs {} pub struct ContextRequestedEventArgs(::windows::core::IUnknown); impl ContextRequestedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -832,7 +832,7 @@ pub struct DoubleTappedEventHandler_Vtbl { pub struct DoubleTappedRoutedEventArgs(::windows::core::IUnknown); impl DoubleTappedRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1052,7 +1052,7 @@ unsafe impl ::core::marker::Sync for ExecuteRequestedEventArgs {} pub struct FindNextElementOptions(::windows::core::IUnknown); impl FindNextElementOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2073,7 +2073,7 @@ pub struct HoldingEventHandler_Vtbl { pub struct HoldingRoutedEventArgs(::windows::core::IUnknown); impl HoldingRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3883,7 +3883,7 @@ unsafe impl ::core::marker::Sync for InertiaTranslationBehavior {} pub struct InputScope(::windows::core::IUnknown); impl InputScope { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3996,7 +3996,7 @@ unsafe impl ::core::marker::Sync for InputScope {} pub struct InputScopeName(::windows::core::IUnknown); impl InputScopeName { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5137,7 +5137,7 @@ pub struct ManipulationCompletedEventHandler_Vtbl { pub struct ManipulationCompletedRoutedEventArgs(::windows::core::IUnknown); impl ManipulationCompletedRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5388,7 +5388,7 @@ pub struct ManipulationDeltaEventHandler_Vtbl { pub struct ManipulationDeltaRoutedEventArgs(::windows::core::IUnknown); impl ManipulationDeltaRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5653,7 +5653,7 @@ pub struct ManipulationInertiaStartingEventHandler_Vtbl { pub struct ManipulationInertiaStartingRoutedEventArgs(::windows::core::IUnknown); impl ManipulationInertiaStartingRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5925,7 +5925,7 @@ unsafe impl ::windows::core::RuntimeType for ManipulationModes { pub struct ManipulationPivot(::windows::core::IUnknown); impl ManipulationPivot { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6384,7 +6384,7 @@ pub struct ManipulationStartingEventHandler_Vtbl { pub struct ManipulationStartingRoutedEventArgs(::windows::core::IUnknown); impl ManipulationStartingRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7201,7 +7201,7 @@ pub struct RightTappedEventHandler_Vtbl { pub struct RightTappedRoutedEventArgs(::windows::core::IUnknown); impl RightTappedRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7666,7 +7666,7 @@ pub struct TappedEventHandler_Vtbl { pub struct TappedRoutedEventArgs(::windows::core::IUnknown); impl TappedRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Media/Animation/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Media/Animation/mod.rs index 4783cf4c0d..b849ce0734 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Media/Animation/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Media/Animation/mod.rs @@ -4,7 +4,7 @@ pub struct AddDeleteThemeTransition(::windows::core::IUnknown); impl AddDeleteThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -128,7 +128,7 @@ unsafe impl ::core::marker::Sync for AddDeleteThemeTransition {} pub struct BackEase(::windows::core::IUnknown); impl BackEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -394,7 +394,7 @@ unsafe impl ::core::marker::Sync for BasicConnectedAnimationConfiguration {} pub struct BeginStoryboard(::windows::core::IUnknown); impl BeginStoryboard { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -543,7 +543,7 @@ unsafe impl ::core::marker::Sync for BeginStoryboard {} pub struct BounceEase(::windows::core::IUnknown); impl BounceEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -712,7 +712,7 @@ unsafe impl ::core::marker::Sync for BounceEase {} pub struct CircleEase(::windows::core::IUnknown); impl CircleEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -871,7 +871,7 @@ unsafe impl ::windows::core::RuntimeType for ClockState { pub struct ColorAnimation(::windows::core::IUnknown); impl ColorAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1106,7 +1106,7 @@ unsafe impl ::core::marker::Sync for ColorAnimation {} pub struct ColorAnimationUsingKeyFrames(::windows::core::IUnknown); impl ColorAnimationUsingKeyFrames { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1410,7 +1410,7 @@ pub struct ColorKeyFrameCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ColorKeyFrameCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1675,7 +1675,7 @@ unsafe impl ::core::marker::Sync for ColorKeyFrameCollection {} pub struct CommonNavigationTransitionInfo(::windows::core::IUnknown); impl CommonNavigationTransitionInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2235,7 +2235,7 @@ unsafe impl ::core::marker::Sync for ConnectedAnimationService {} pub struct ContentThemeTransition(::windows::core::IUnknown); impl ContentThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2404,7 +2404,7 @@ unsafe impl ::core::marker::Sync for ContentThemeTransition {} pub struct ContinuumNavigationTransitionInfo(::windows::core::IUnknown); impl ContinuumNavigationTransitionInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2609,7 +2609,7 @@ unsafe impl ::core::marker::Sync for ContinuumNavigationTransitionInfo {} pub struct CubicEase(::windows::core::IUnknown); impl CubicEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2850,7 +2850,7 @@ unsafe impl ::core::marker::Sync for DirectConnectedAnimationConfiguration {} pub struct DiscreteColorKeyFrame(::windows::core::IUnknown); impl DiscreteColorKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2974,7 +2974,7 @@ unsafe impl ::core::marker::Sync for DiscreteColorKeyFrame {} pub struct DiscreteDoubleKeyFrame(::windows::core::IUnknown); impl DiscreteDoubleKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3098,7 +3098,7 @@ unsafe impl ::core::marker::Sync for DiscreteDoubleKeyFrame {} pub struct DiscreteObjectKeyFrame(::windows::core::IUnknown); impl DiscreteObjectKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3222,7 +3222,7 @@ unsafe impl ::core::marker::Sync for DiscreteObjectKeyFrame {} pub struct DiscretePointKeyFrame(::windows::core::IUnknown); impl DiscretePointKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3346,7 +3346,7 @@ unsafe impl ::core::marker::Sync for DiscretePointKeyFrame {} pub struct DoubleAnimation(::windows::core::IUnknown); impl DoubleAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3581,7 +3581,7 @@ unsafe impl ::core::marker::Sync for DoubleAnimation {} pub struct DoubleAnimationUsingKeyFrames(::windows::core::IUnknown); impl DoubleAnimationUsingKeyFrames { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3885,7 +3885,7 @@ pub struct DoubleKeyFrameCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl DoubleKeyFrameCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4150,7 +4150,7 @@ unsafe impl ::core::marker::Sync for DoubleKeyFrameCollection {} pub struct DragItemThemeAnimation(::windows::core::IUnknown); impl DragItemThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4299,7 +4299,7 @@ unsafe impl ::core::marker::Sync for DragItemThemeAnimation {} pub struct DragOverThemeAnimation(::windows::core::IUnknown); impl DragOverThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4490,7 +4490,7 @@ unsafe impl ::core::marker::Sync for DragOverThemeAnimation {} pub struct DrillInNavigationTransitionInfo(::windows::core::IUnknown); impl DrillInNavigationTransitionInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4614,7 +4614,7 @@ unsafe impl ::core::marker::Sync for DrillInNavigationTransitionInfo {} pub struct DrillInThemeAnimation(::windows::core::IUnknown); impl DrillInThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4823,7 +4823,7 @@ unsafe impl ::core::marker::Sync for DrillInThemeAnimation {} pub struct DrillOutThemeAnimation(::windows::core::IUnknown); impl DrillOutThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5032,7 +5032,7 @@ unsafe impl ::core::marker::Sync for DrillOutThemeAnimation {} pub struct DropTargetItemThemeAnimation(::windows::core::IUnknown); impl DropTargetItemThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5181,7 +5181,7 @@ unsafe impl ::core::marker::Sync for DropTargetItemThemeAnimation {} pub struct EasingColorKeyFrame(::windows::core::IUnknown); impl EasingColorKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5330,7 +5330,7 @@ unsafe impl ::core::marker::Sync for EasingColorKeyFrame {} pub struct EasingDoubleKeyFrame(::windows::core::IUnknown); impl EasingDoubleKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5644,7 +5644,7 @@ unsafe impl ::windows::core::RuntimeType for EasingMode { pub struct EasingPointKeyFrame(::windows::core::IUnknown); impl EasingPointKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5793,7 +5793,7 @@ unsafe impl ::core::marker::Sync for EasingPointKeyFrame {} pub struct EdgeUIThemeTransition(::windows::core::IUnknown); impl EdgeUIThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5944,7 +5944,7 @@ unsafe impl ::core::marker::Sync for EdgeUIThemeTransition {} pub struct ElasticEase(::windows::core::IUnknown); impl ElasticEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6113,7 +6113,7 @@ unsafe impl ::core::marker::Sync for ElasticEase {} pub struct EntranceNavigationTransitionInfo(::windows::core::IUnknown); impl EntranceNavigationTransitionInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6260,7 +6260,7 @@ unsafe impl ::core::marker::Sync for EntranceNavigationTransitionInfo {} pub struct EntranceThemeTransition(::windows::core::IUnknown); impl EntranceThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6449,7 +6449,7 @@ unsafe impl ::core::marker::Sync for EntranceThemeTransition {} pub struct ExponentialEase(::windows::core::IUnknown); impl ExponentialEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6598,7 +6598,7 @@ unsafe impl ::core::marker::Sync for ExponentialEase {} pub struct FadeInThemeAnimation(::windows::core::IUnknown); impl FadeInThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6747,7 +6747,7 @@ unsafe impl ::core::marker::Sync for FadeInThemeAnimation {} pub struct FadeOutThemeAnimation(::windows::core::IUnknown); impl FadeOutThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9569,7 +9569,7 @@ pub struct ITransitionFactory_Vtbl { pub struct KeySpline(::windows::core::IUnknown); impl KeySpline { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9839,7 +9839,7 @@ unsafe impl ::core::marker::Sync for KeyTimeHelper {} pub struct LinearColorKeyFrame(::windows::core::IUnknown); impl LinearColorKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9963,7 +9963,7 @@ unsafe impl ::core::marker::Sync for LinearColorKeyFrame {} pub struct LinearDoubleKeyFrame(::windows::core::IUnknown); impl LinearDoubleKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10087,7 +10087,7 @@ unsafe impl ::core::marker::Sync for LinearDoubleKeyFrame {} pub struct LinearPointKeyFrame(::windows::core::IUnknown); impl LinearPointKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10211,7 +10211,7 @@ unsafe impl ::core::marker::Sync for LinearPointKeyFrame {} pub struct NavigationThemeTransition(::windows::core::IUnknown); impl NavigationThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10456,7 +10456,7 @@ unsafe impl ::core::marker::Sync for NavigationTransitionInfo {} pub struct ObjectAnimationUsingKeyFrames(::windows::core::IUnknown); impl ObjectAnimationUsingKeyFrames { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10760,7 +10760,7 @@ pub struct ObjectKeyFrameCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl ObjectKeyFrameCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11025,7 +11025,7 @@ unsafe impl ::core::marker::Sync for ObjectKeyFrameCollection {} pub struct PaneThemeTransition(::windows::core::IUnknown); impl PaneThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11176,7 +11176,7 @@ unsafe impl ::core::marker::Sync for PaneThemeTransition {} pub struct PointAnimation(::windows::core::IUnknown); impl PointAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11411,7 +11411,7 @@ unsafe impl ::core::marker::Sync for PointAnimation {} pub struct PointAnimationUsingKeyFrames(::windows::core::IUnknown); impl PointAnimationUsingKeyFrames { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11717,7 +11717,7 @@ pub struct PointKeyFrameCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PointKeyFrameCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11982,7 +11982,7 @@ unsafe impl ::core::marker::Sync for PointKeyFrameCollection {} pub struct PointerDownThemeAnimation(::windows::core::IUnknown); impl PointerDownThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12131,7 +12131,7 @@ unsafe impl ::core::marker::Sync for PointerDownThemeAnimation {} pub struct PointerUpThemeAnimation(::windows::core::IUnknown); impl PointerUpThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12280,7 +12280,7 @@ unsafe impl ::core::marker::Sync for PointerUpThemeAnimation {} pub struct PopInThemeAnimation(::windows::core::IUnknown); impl PopInThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12469,7 +12469,7 @@ unsafe impl ::core::marker::Sync for PopInThemeAnimation {} pub struct PopOutThemeAnimation(::windows::core::IUnknown); impl PopOutThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12618,7 +12618,7 @@ unsafe impl ::core::marker::Sync for PopOutThemeAnimation {} pub struct PopupThemeTransition(::windows::core::IUnknown); impl PopupThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12787,7 +12787,7 @@ unsafe impl ::core::marker::Sync for PopupThemeTransition {} pub struct PowerEase(::windows::core::IUnknown); impl PowerEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12936,7 +12936,7 @@ unsafe impl ::core::marker::Sync for PowerEase {} pub struct QuadraticEase(::windows::core::IUnknown); impl QuadraticEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13060,7 +13060,7 @@ unsafe impl ::core::marker::Sync for QuadraticEase {} pub struct QuarticEase(::windows::core::IUnknown); impl QuarticEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13184,7 +13184,7 @@ unsafe impl ::core::marker::Sync for QuarticEase {} pub struct QuinticEase(::windows::core::IUnknown); impl QuinticEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13308,7 +13308,7 @@ unsafe impl ::core::marker::Sync for QuinticEase {} pub struct ReorderThemeTransition(::windows::core::IUnknown); impl ReorderThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13645,7 +13645,7 @@ unsafe impl ::windows::core::RuntimeType for RepeatBehaviorType { pub struct RepositionThemeAnimation(::windows::core::IUnknown); impl RepositionThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13834,7 +13834,7 @@ unsafe impl ::core::marker::Sync for RepositionThemeAnimation {} pub struct RepositionThemeTransition(::windows::core::IUnknown); impl RepositionThemeTransition { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13983,7 +13983,7 @@ unsafe impl ::core::marker::Sync for RepositionThemeTransition {} pub struct SineEase(::windows::core::IUnknown); impl SineEase { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14142,7 +14142,7 @@ unsafe impl ::windows::core::RuntimeType for SlideNavigationTransitionEffect { pub struct SlideNavigationTransitionInfo(::windows::core::IUnknown); impl SlideNavigationTransitionInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14291,7 +14291,7 @@ unsafe impl ::core::marker::Sync for SlideNavigationTransitionInfo {} pub struct SplineColorKeyFrame(::windows::core::IUnknown); impl SplineColorKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14440,7 +14440,7 @@ unsafe impl ::core::marker::Sync for SplineColorKeyFrame {} pub struct SplineDoubleKeyFrame(::windows::core::IUnknown); impl SplineDoubleKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14589,7 +14589,7 @@ unsafe impl ::core::marker::Sync for SplineDoubleKeyFrame {} pub struct SplinePointKeyFrame(::windows::core::IUnknown); impl SplinePointKeyFrame { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14738,7 +14738,7 @@ unsafe impl ::core::marker::Sync for SplinePointKeyFrame {} pub struct SplitCloseThemeAnimation(::windows::core::IUnknown); impl SplitCloseThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15089,7 +15089,7 @@ unsafe impl ::core::marker::Sync for SplitCloseThemeAnimation {} pub struct SplitOpenThemeAnimation(::windows::core::IUnknown); impl SplitOpenThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15440,7 +15440,7 @@ unsafe impl ::core::marker::Sync for SplitOpenThemeAnimation {} pub struct Storyboard(::windows::core::IUnknown); impl Storyboard { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15672,7 +15672,7 @@ unsafe impl ::core::marker::Sync for Storyboard {} pub struct SuppressNavigationTransitionInfo(::windows::core::IUnknown); impl SuppressNavigationTransitionInfo { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15796,7 +15796,7 @@ unsafe impl ::core::marker::Sync for SuppressNavigationTransitionInfo {} pub struct SwipeBackThemeAnimation(::windows::core::IUnknown); impl SwipeBackThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15985,7 +15985,7 @@ unsafe impl ::core::marker::Sync for SwipeBackThemeAnimation {} pub struct SwipeHintThemeAnimation(::windows::core::IUnknown); impl SwipeHintThemeAnimation { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -16430,7 +16430,7 @@ pub struct TimelineCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl TimelineCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -16793,7 +16793,7 @@ pub struct TransitionCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl TransitionCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Media/Imaging/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Media/Imaging/mod.rs index 6575c9d220..553da83e8a 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Media/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Media/Imaging/mod.rs @@ -66,7 +66,7 @@ unsafe impl ::windows::core::RuntimeType for BitmapCreateOptions { pub struct BitmapImage(::windows::core::IUnknown); impl BitmapImage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1303,7 +1303,7 @@ pub struct IXamlRenderingBackgroundTaskOverrides_Vtbl { pub struct RenderTargetBitmap(::windows::core::IUnknown); impl RenderTargetBitmap { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1489,7 +1489,7 @@ unsafe impl ::core::marker::Sync for RenderTargetBitmap {} pub struct SoftwareBitmapSource(::windows::core::IUnknown); impl SoftwareBitmapSource { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Media/Media3D/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Media/Media3D/mod.rs index 6d0f6ef0da..e56581cb69 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Media/Media3D/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Media/Media3D/mod.rs @@ -4,7 +4,7 @@ pub struct CompositeTransform3D(::windows::core::IUnknown); impl CompositeTransform3D { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -697,7 +697,7 @@ unsafe impl ::core::marker::Sync for Matrix3DHelper {} pub struct PerspectiveTransform3D(::windows::core::IUnknown); impl PerspectiveTransform3D { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs index 00f6f296f8..ae2e3fb988 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Media/mod.rs @@ -431,7 +431,7 @@ unsafe impl ::windows::core::RuntimeType for AlignmentY { pub struct ArcSegment(::windows::core::IUnknown); impl ArcSegment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -743,7 +743,7 @@ unsafe impl ::windows::core::RuntimeType for AudioDeviceType { pub struct BezierSegment(::windows::core::IUnknown); impl BezierSegment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -938,7 +938,7 @@ unsafe impl ::core::marker::Sync for BezierSegment {} pub struct BitmapCache(::windows::core::IUnknown); impl BitmapCache { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1258,7 +1258,7 @@ pub struct BrushCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl BrushCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1687,7 +1687,7 @@ unsafe impl ::windows::core::RuntimeType for ColorInterpolationMode { pub struct CompositeTransform(::windows::core::IUnknown); impl CompositeTransform { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2144,7 +2144,7 @@ pub struct DoubleCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl DoubleCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2444,7 +2444,7 @@ unsafe impl ::windows::core::RuntimeType for ElementCompositeMode { pub struct EllipseGeometry(::windows::core::IUnknown); impl EllipseGeometry { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3100,7 +3100,7 @@ pub struct GeometryCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl GeometryCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3365,7 +3365,7 @@ unsafe impl ::core::marker::Sync for GeometryCollection {} pub struct GeometryGroup(::windows::core::IUnknown); impl GeometryGroup { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3801,7 +3801,7 @@ unsafe impl ::windows::core::RuntimeType for GradientSpreadMethod { pub struct GradientStop(::windows::core::IUnknown); impl GradientStop { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3952,7 +3952,7 @@ pub struct GradientStopCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl GradientStopCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6459,7 +6459,7 @@ pub struct IXamlLightStatics_Vtbl { pub struct ImageBrush(::windows::core::IUnknown); impl ImageBrush { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6780,7 +6780,7 @@ unsafe impl ::core::marker::Sync for ImageSource {} pub struct LineGeometry(::windows::core::IUnknown); impl LineGeometry { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -6953,7 +6953,7 @@ unsafe impl ::core::marker::Sync for LineGeometry {} pub struct LineSegment(::windows::core::IUnknown); impl LineSegment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7104,7 +7104,7 @@ unsafe impl ::core::marker::Sync for LineSegment {} pub struct LinearGradientBrush(::windows::core::IUnknown); impl LinearGradientBrush { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7713,7 +7713,7 @@ impl ::core::default::Default for Matrix { pub struct Matrix3DProjection(::windows::core::IUnknown); impl Matrix3DProjection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7975,7 +7975,7 @@ unsafe impl ::core::marker::Sync for MatrixHelper {} pub struct MatrixTransform(::windows::core::IUnknown); impl MatrixTransform { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8309,7 +8309,7 @@ unsafe impl ::core::marker::Sync for MediaTransportControlsThumbnailRequestedEve pub struct PartialMediaFailureDetectedEventArgs(::windows::core::IUnknown); impl PartialMediaFailureDetectedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8410,7 +8410,7 @@ unsafe impl ::core::marker::Sync for PartialMediaFailureDetectedEventArgs {} pub struct PathFigure(::windows::core::IUnknown); impl PathFigure { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8605,7 +8605,7 @@ pub struct PathFigureCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PathFigureCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -8870,7 +8870,7 @@ unsafe impl ::core::marker::Sync for PathFigureCollection {} pub struct PathGeometry(::windows::core::IUnknown); impl PathGeometry { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9139,7 +9139,7 @@ pub struct PathSegmentCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PathSegmentCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9475,7 +9475,7 @@ unsafe impl ::windows::core::RuntimeType for PenLineJoin { pub struct PlaneProjection(::windows::core::IUnknown); impl PlaneProjection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -9862,7 +9862,7 @@ pub struct PointCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl PointCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10127,7 +10127,7 @@ unsafe impl ::core::marker::Sync for PointCollection {} pub struct PolyBezierSegment(::windows::core::IUnknown); impl PolyBezierSegment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10278,7 +10278,7 @@ unsafe impl ::core::marker::Sync for PolyBezierSegment {} pub struct PolyLineSegment(::windows::core::IUnknown); impl PolyLineSegment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10429,7 +10429,7 @@ unsafe impl ::core::marker::Sync for PolyLineSegment {} pub struct PolyQuadraticBezierSegment(::windows::core::IUnknown); impl PolyQuadraticBezierSegment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10676,7 +10676,7 @@ unsafe impl ::core::marker::Sync for Projection {} pub struct QuadraticBezierSegment(::windows::core::IUnknown); impl QuadraticBezierSegment { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -10849,7 +10849,7 @@ unsafe impl ::core::marker::Sync for QuadraticBezierSegment {} pub struct RateChangedRoutedEventArgs(::windows::core::IUnknown); impl RateChangedRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -11035,7 +11035,7 @@ pub struct RateChangedRoutedEventHandler_Vtbl { pub struct RectangleGeometry(::windows::core::IUnknown); impl RectangleGeometry { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12045,7 +12045,7 @@ unsafe impl ::windows::core::RuntimeType for RevealBrushState { pub struct RotateTransform(::windows::core::IUnknown); impl RotateTransform { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12254,7 +12254,7 @@ unsafe impl ::core::marker::Sync for RotateTransform {} pub struct ScaleTransform(::windows::core::IUnknown); impl ScaleTransform { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12579,7 +12579,7 @@ unsafe impl ::core::marker::Sync for Shadow {} pub struct SkewTransform(::windows::core::IUnknown); impl SkewTransform { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -12808,7 +12808,7 @@ unsafe impl ::core::marker::Sync for SkewTransform {} pub struct SolidColorBrush(::windows::core::IUnknown); impl SolidColorBrush { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13523,7 +13523,7 @@ unsafe impl ::core::marker::Sync for TileBrush {} pub struct TimelineMarker(::windows::core::IUnknown); impl TimelineMarker { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13696,7 +13696,7 @@ pub struct TimelineMarkerCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl TimelineMarkerCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13961,7 +13961,7 @@ unsafe impl ::core::marker::Sync for TimelineMarkerCollection {} pub struct TimelineMarkerRoutedEventArgs(::windows::core::IUnknown); impl TimelineMarkerRoutedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14278,7 +14278,7 @@ pub struct TransformCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl TransformCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14543,7 +14543,7 @@ unsafe impl ::core::marker::Sync for TransformCollection {} pub struct TransformGroup(::windows::core::IUnknown); impl TransformGroup { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14722,7 +14722,7 @@ unsafe impl ::core::marker::Sync for TransformGroup {} pub struct TranslateTransform(::windows::core::IUnknown); impl TranslateTransform { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Printing/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Printing/mod.rs index 3339924c65..aae1112c43 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Printing/mod.rs @@ -4,7 +4,7 @@ pub struct AddPagesEventArgs(::windows::core::IUnknown); impl AddPagesEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -179,7 +179,7 @@ pub struct AddPagesEventHandler_Vtbl { pub struct GetPreviewPageEventArgs(::windows::core::IUnknown); impl GetPreviewPageEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -470,7 +470,7 @@ pub struct IPrintDocumentStatics_Vtbl { pub struct PaginateEventArgs(::windows::core::IUnknown); impl PaginateEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/Shapes/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/Shapes/mod.rs index 5e0e8f7b11..2aef955e1a 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/Shapes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/Shapes/mod.rs @@ -4,7 +4,7 @@ pub struct Ellipse(::windows::core::IUnknown); impl Ellipse { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -566,7 +566,7 @@ pub struct IShapeStatics_Vtbl { pub struct Line(::windows::core::IUnknown); impl Line { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1123,7 +1123,7 @@ unsafe impl ::core::marker::Sync for Path {} pub struct Polygon(::windows::core::IUnknown); impl Polygon { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1388,7 +1388,7 @@ unsafe impl ::core::marker::Sync for Polygon {} pub struct Polyline(::windows::core::IUnknown); impl Polyline { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1653,7 +1653,7 @@ unsafe impl ::core::marker::Sync for Polyline {} pub struct Rectangle(::windows::core::IUnknown); impl Rectangle { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/UI/Xaml/mod.rs b/crates/libs/windows/src/Windows/UI/Xaml/mod.rs index 8b7c155a7c..10479e85ad 100644 --- a/crates/libs/windows/src/Windows/UI/Xaml/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Xaml/mod.rs @@ -1017,7 +1017,7 @@ pub struct BindingFailedEventHandler_Vtbl { pub struct BringIntoViewOptions(::windows::core::IUnknown); impl BringIntoViewOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -5923,7 +5923,7 @@ pub struct EnteredBackgroundEventHandler_Vtbl { pub struct EventTrigger(::windows::core::IUnknown); impl EventTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7621,7 +7621,7 @@ unsafe impl ::core::marker::Sync for FrameworkTemplate {} pub struct FrameworkView(::windows::core::IUnknown); impl FrameworkView { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -7761,7 +7761,7 @@ unsafe impl ::core::marker::Sync for FrameworkView {} pub struct FrameworkViewSource(::windows::core::IUnknown); impl FrameworkViewSource { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -13891,7 +13891,7 @@ unsafe impl ::core::marker::Sync for ScalarTransition {} pub struct Setter(::windows::core::IUnknown); impl Setter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14171,7 +14171,7 @@ unsafe impl ::core::marker::Sync for SetterBase {} pub struct SetterBaseCollection(::windows::core::IUnknown); impl SetterBaseCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14738,7 +14738,7 @@ unsafe impl ::core::marker::Sync for SizeHelper {} pub struct StateTrigger(::windows::core::IUnknown); impl StateTrigger { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -14989,7 +14989,7 @@ unsafe impl ::core::marker::Sync for StateTriggerBase {} pub struct Style(::windows::core::IUnknown); impl Style { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15252,7 +15252,7 @@ pub struct SuspendingEventHandler_Vtbl { pub struct TargetPropertyPath(::windows::core::IUnknown); impl TargetPropertyPath { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -15789,7 +15789,7 @@ pub struct TriggerActionCollection(::windows::core::IUnknown); #[cfg(feature = "Foundation_Collections")] impl TriggerActionCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -19318,7 +19318,7 @@ unsafe impl ::windows::core::RuntimeType for Visibility { pub struct VisualState(::windows::core::IUnknown); impl VisualState { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -19462,7 +19462,7 @@ unsafe impl ::core::marker::Sync for VisualState {} pub struct VisualStateChangedEventArgs(::windows::core::IUnknown); impl VisualStateChangedEventArgs { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -19669,7 +19669,7 @@ pub struct VisualStateChangedEventHandler_Vtbl { pub struct VisualStateGroup(::windows::core::IUnknown); impl VisualStateGroup { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index 976932c405..1591bb78dd 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -4,7 +4,7 @@ pub struct AtomPubClient(::windows::core::IUnknown); impl AtomPubClient { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs index 04af1d22da..63cf43f014 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -4,7 +4,7 @@ pub struct HttpBaseProtocolFilter(::windows::core::IUnknown); impl HttpBaseProtocolFilter { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs index 2de745b030..f07de59d18 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -2372,7 +2372,7 @@ unsafe impl ::core::marker::Sync for HttpContentDispositionHeaderValue {} pub struct HttpContentHeaderCollection(::windows::core::IUnknown); impl HttpContentHeaderCollection { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index 43afea1c07..f1aa05a5bc 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -259,7 +259,7 @@ unsafe impl ::core::marker::Sync for HttpBufferContent {} pub struct HttpClient(::windows::core::IUnknown); impl HttpClient { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2145,7 +2145,7 @@ unsafe impl ::core::marker::Sync for HttpMethod {} pub struct HttpMultipartContent(::windows::core::IUnknown); impl HttpMultipartContent { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2455,7 +2455,7 @@ unsafe impl ::core::marker::Sync for HttpMultipartContent {} pub struct HttpMultipartFormDataContent(::windows::core::IUnknown); impl HttpMultipartFormDataContent { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2866,7 +2866,7 @@ unsafe impl ::windows::core::RuntimeType for HttpProgressStage { pub struct HttpRequestMessage(::windows::core::IUnknown); impl HttpRequestMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3273,7 +3273,7 @@ unsafe impl ::core::marker::Sync for HttpRequestResult {} pub struct HttpResponseMessage(::windows::core::IUnknown); impl HttpResponseMessage { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index 67bc61f4d3..ac0af67ca1 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -1160,7 +1160,7 @@ impl ::core::default::Default for RetrievalProgress { pub struct SyndicationAttribute(::windows::core::IUnknown); impl SyndicationAttribute { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1295,7 +1295,7 @@ unsafe impl ::core::marker::Sync for SyndicationAttribute {} pub struct SyndicationCategory(::windows::core::IUnknown); impl SyndicationCategory { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1553,7 +1553,7 @@ unsafe impl ::core::marker::Sync for SyndicationCategory {} pub struct SyndicationClient(::windows::core::IUnknown); impl SyndicationClient { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1755,7 +1755,7 @@ unsafe impl ::core::marker::Sync for SyndicationClient {} pub struct SyndicationContent(::windows::core::IUnknown); impl SyndicationContent { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2110,7 +2110,7 @@ unsafe impl ::windows::core::RuntimeType for SyndicationErrorStatus { pub struct SyndicationFeed(::windows::core::IUnknown); impl SyndicationFeed { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2571,7 +2571,7 @@ unsafe impl ::windows::core::RuntimeType for SyndicationFormat { pub struct SyndicationGenerator(::windows::core::IUnknown); impl SyndicationGenerator { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -2824,7 +2824,7 @@ unsafe impl ::core::marker::Sync for SyndicationGenerator {} pub struct SyndicationItem(::windows::core::IUnknown); impl SyndicationItem { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3242,7 +3242,7 @@ unsafe impl ::core::marker::Sync for SyndicationItem {} pub struct SyndicationLink(::windows::core::IUnknown); impl SyndicationLink { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3543,7 +3543,7 @@ unsafe impl ::core::marker::Sync for SyndicationLink {} pub struct SyndicationNode(::windows::core::IUnknown); impl SyndicationNode { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -3755,7 +3755,7 @@ unsafe impl ::core::marker::Sync for SyndicationNode {} pub struct SyndicationPerson(::windows::core::IUnknown); impl SyndicationPerson { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -4016,7 +4016,7 @@ unsafe impl ::core::marker::Sync for SyndicationPerson {} pub struct SyndicationText(::windows::core::IUnknown); impl SyndicationText { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs index 14d200e7aa..13b939b6fd 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -1112,7 +1112,7 @@ impl<'a> ::windows::core::IntoParam<'a, ::windows::core::IInspectable> for &'a W pub struct WebViewControlProcess(::windows::core::IUnknown); impl WebViewControlProcess { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); @@ -1303,7 +1303,7 @@ unsafe impl ::windows::core::RuntimeType for WebViewControlProcessCapabilityStat pub struct WebViewControlProcessOptions(::windows::core::IUnknown); impl WebViewControlProcessOptions { pub fn new() -> ::windows::core::Result { - Self::IActivationFactory(|f| f.activate_instance::()) + Self::IActivationFactory(|f| f.ActivateInstance::()) } fn IActivationFactory ::windows::core::Result>(callback: F) -> ::windows::core::Result { static mut SHARED: ::windows::core::FactoryCache = ::windows::core::FactoryCache::new(); diff --git a/crates/libs/windows/src/core/activation_factory.rs b/crates/libs/windows/src/core/activation_factory.rs index 75753db9a1..17884849da 100644 --- a/crates/libs/windows/src/core/activation_factory.rs +++ b/crates/libs/windows/src/core/activation_factory.rs @@ -1,38 +1,31 @@ use super::*; -/// WinRT classes have a supporting factory object that implements `IActivationFactory` to create a new -/// instance of the WinRT class with some default state. `IActivationFactory` represents the -/// [IActivationFactory](https://docs.microsoft.com/en-us/windows/win32/api/activation/nn-activation-iactivationfactory) -/// interface. +// TODO: need to use the generated version +// https://github.com/microsoft/win32metadata/issues/833 + #[repr(transparent)] #[derive(Clone, PartialEq, Eq)] -pub struct IActivationFactory(IInspectable); +pub struct IActivationFactory(IUnknown); impl IActivationFactory { - /// Creates an instance of the WinRT class associated with the factory object. - /// - /// The `activate_instance` method corresponds to the "default constructor" in languages like C# and C++. - pub fn activate_instance(&self) -> Result { + pub fn ActivateInstance(&self) -> ::windows::core::Result { unsafe { - let mut object = None; - - // Even though the factory will generally return the WinRT default interface, this isn't guaranteed - // so a cast is required to convert the `IInspectable` into `I`, or the class type. - (self.vtable().ActivateInstance)(core::mem::transmute_copy(self), &mut object).and_some(object)?.cast() + let mut result__: *mut ::core::ffi::c_void = ::core::mem::zeroed(); + (::windows::core::Interface::vtable(self).ActivateInstance)(::core::mem::transmute_copy(self), ::core::mem::transmute(&mut result__)).from_abi::<::windows::core::IInspectable>(result__)?.cast() } } } #[repr(C)] -pub struct IActivationFactoryVtbl { - pub base: IInspectableVtbl, - pub ActivateInstance: unsafe extern "system" fn(this: RawPtr, object: &mut Option) -> HRESULT, +#[doc(hidden)] +pub struct IActivationFactory_Vtbl { + pub base: ::windows::core::IInspectableVtbl, + pub ActivateInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, instance: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, } -unsafe impl Interface for IActivationFactory { - type Vtable = IActivationFactoryVtbl; - - const IID: GUID = GUID::from_u128(0x00000035_0000_0000_c000_000000000046); +unsafe impl ::windows::core::Interface for IActivationFactory { + type Vtable = IActivationFactory_Vtbl; + const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x00000035_0000_0000_c000_000000000046); } impl core::fmt::Debug for IActivationFactory { @@ -40,3 +33,35 @@ impl core::fmt::Debug for IActivationFactory { f.debug_tuple("IActivationFactory").field(&self.0).finish() } } + +pub trait IActivationFactory_Impl: Sized { + fn ActivateInstance(&self) -> ::windows::core::Result<::windows::core::IInspectable>; +} + +impl ::windows::core::RuntimeName for IActivationFactory { + const NAME: &'static str = ""; +} + +#[cfg(feature = "implement")] +impl IActivationFactory_Vtbl { + pub const fn new() -> IActivationFactory_Vtbl { + unsafe extern "system" fn ActivateInstance(this: *mut ::core::ffi::c_void, instance: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { + let this = (this as *mut ::windows::core::RawPtr).offset(OFFSET) as *mut Identity; + let this = (*this).get_impl() as *mut Impl; + match (*this).ActivateInstance() { + ::core::result::Result::Ok(ok__) => { + *instance = ::core::mem::transmute(ok__); + ::windows::core::HRESULT(0) + } + ::core::result::Result::Err(err) => err.into(), + } + } + Self { + base: ::windows::core::IInspectableVtbl::new::(), + ActivateInstance: ActivateInstance::, + } + } + pub fn matches(iid: &windows::core::GUID) -> bool { + iid == &::IID + } +}