diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index bfc7211f66..b8959b991f 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -137,6 +137,8 @@ jobs: run: cargo clippy -p test_calling_convention - name: Clippy test_cfg_generic run: cargo clippy -p test_cfg_generic + - name: Clippy test_class_hierarchy + run: cargo clippy -p test_class_hierarchy - name: Clippy test_collections run: cargo clippy -p test_collections - name: Clippy test_component diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15af577a5b..fe68bd00f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -163,6 +163,8 @@ jobs: run: cargo test -p test_calling_convention --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_cfg_generic run: cargo test -p test_cfg_generic --target ${{ matrix.target }} ${{ matrix.etc }} + - name: Test test_class_hierarchy + run: cargo test -p test_class_hierarchy --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_collections run: cargo test -p test_collections --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_component @@ -253,10 +255,10 @@ jobs: run: cargo test -p test_standalone --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_string_param run: cargo test -p test_string_param --target ${{ matrix.target }} ${{ matrix.etc }} - - name: Test test_strings - run: cargo test -p test_strings --target ${{ matrix.target }} ${{ matrix.etc }} - name: Clean run: cargo clean + - name: Test test_strings + run: cargo test -p test_strings --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_structs run: cargo test -p test_structs --target ${{ matrix.target }} ${{ matrix.etc }} - name: Test test_sys diff --git a/crates/libs/bindgen/src/rust/classes.rs b/crates/libs/bindgen/src/rust/classes.rs index 81e5077fc7..bbb8be3ceb 100644 --- a/crates/libs/bindgen/src/rust/classes.rs +++ b/crates/libs/bindgen/src/rust/classes.rs @@ -175,9 +175,20 @@ fn gen_conversions( cfg: &cfg::Cfg, ) -> TokenStream { let features = writer.cfg_features(cfg); - let mut tokens = quote! { - #features - windows_core::imp::interface_hierarchy!(#ident, windows_core::IUnknown, windows_core::IInspectable); + + let mut tokens = if let Some(default) = interfaces.iter().find(|interface| { + !type_is_exclusive(&interface.ty) && interface.kind == metadata::InterfaceKind::Default + }) { + let default = writer.type_name(&default.ty); + quote! { + #features + windows_core::imp::interface_hierarchy!(#ident, windows_core::IUnknown, windows_core::IInspectable, #default); + } + } else { + quote! { + #features + windows_core::imp::interface_hierarchy!(#ident, windows_core::IUnknown, windows_core::IInspectable); + } }; let mut hierarchy = format!("windows_core::imp::required_hierarchy!({ident}"); @@ -185,12 +196,11 @@ fn gen_conversions( let mut hierarchy_added = false; for interface in interfaces { - if type_is_exclusive(&interface.ty) { + if type_is_exclusive(&interface.ty) || interface.kind == metadata::InterfaceKind::Default { continue; } - if interface.kind != metadata::InterfaceKind::Default - && interface.kind != metadata::InterfaceKind::None + if interface.kind != metadata::InterfaceKind::None && interface.kind != metadata::InterfaceKind::Base { continue; diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index 82995f6365..c95057c779 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -3319,8 +3319,8 @@ pub struct IWebAuthenticationBrokerContinuationEventArgs_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AppointmentsProviderAddAppointmentActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AppointmentsProviderAddAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AppointmentsProviderAddAppointmentActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderAddAppointmentActivatedEventArgs); +windows_core::imp::interface_hierarchy!(AppointmentsProviderAddAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IAppointmentsProviderAddAppointmentActivatedEventArgs); +windows_core::imp::required_hierarchy!(AppointmentsProviderAddAppointmentActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs); impl AppointmentsProviderAddAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3382,8 +3382,8 @@ unsafe impl Sync for AppointmentsProviderAddAppointmentActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AppointmentsProviderRemoveAppointmentActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AppointmentsProviderRemoveAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AppointmentsProviderRemoveAppointmentActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderRemoveAppointmentActivatedEventArgs); +windows_core::imp::interface_hierarchy!(AppointmentsProviderRemoveAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IAppointmentsProviderRemoveAppointmentActivatedEventArgs); +windows_core::imp::required_hierarchy!(AppointmentsProviderRemoveAppointmentActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs); impl AppointmentsProviderRemoveAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3445,8 +3445,8 @@ unsafe impl Sync for AppointmentsProviderRemoveAppointmentActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AppointmentsProviderReplaceAppointmentActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AppointmentsProviderReplaceAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AppointmentsProviderReplaceAppointmentActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderReplaceAppointmentActivatedEventArgs); +windows_core::imp::interface_hierarchy!(AppointmentsProviderReplaceAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IAppointmentsProviderReplaceAppointmentActivatedEventArgs); +windows_core::imp::required_hierarchy!(AppointmentsProviderReplaceAppointmentActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs); impl AppointmentsProviderReplaceAppointmentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3508,8 +3508,8 @@ unsafe impl Sync for AppointmentsProviderReplaceAppointmentActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AppointmentsProviderShowAppointmentDetailsActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs); +windows_core::imp::interface_hierarchy!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs); +windows_core::imp::required_hierarchy!(AppointmentsProviderShowAppointmentDetailsActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs); impl AppointmentsProviderShowAppointmentDetailsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3584,8 +3584,8 @@ unsafe impl Sync for AppointmentsProviderShowAppointmentDetailsActivatedEventArg #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AppointmentsProviderShowTimeFrameActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AppointmentsProviderShowTimeFrameActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AppointmentsProviderShowTimeFrameActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderShowTimeFrameActivatedEventArgs); +windows_core::imp::interface_hierarchy!(AppointmentsProviderShowTimeFrameActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IAppointmentsProviderShowTimeFrameActivatedEventArgs); +windows_core::imp::required_hierarchy!(AppointmentsProviderShowTimeFrameActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IAppointmentsProviderActivatedEventArgs); impl AppointmentsProviderShowTimeFrameActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3653,8 +3653,7 @@ unsafe impl Sync for AppointmentsProviderShowTimeFrameActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct BackgroundActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(BackgroundActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(BackgroundActivatedEventArgs, IBackgroundActivatedEventArgs); +windows_core::imp::interface_hierarchy!(BackgroundActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IBackgroundActivatedEventArgs); impl BackgroundActivatedEventArgs { #[cfg(feature = "ApplicationModel_Background")] pub fn TaskInstance(&self) -> windows_core::Result { @@ -3680,8 +3679,8 @@ unsafe impl Sync for BackgroundActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct BarcodeScannerPreviewActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(BarcodeScannerPreviewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(BarcodeScannerPreviewActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IBarcodeScannerPreviewActivatedEventArgs); +windows_core::imp::interface_hierarchy!(BarcodeScannerPreviewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IBarcodeScannerPreviewActivatedEventArgs); +windows_core::imp::required_hierarchy!(BarcodeScannerPreviewActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl BarcodeScannerPreviewActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3735,8 +3734,8 @@ unsafe impl Sync for BarcodeScannerPreviewActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CachedFileUpdaterActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CachedFileUpdaterActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CachedFileUpdaterActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, ICachedFileUpdaterActivatedEventArgs); +windows_core::imp::interface_hierarchy!(CachedFileUpdaterActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ICachedFileUpdaterActivatedEventArgs); +windows_core::imp::required_hierarchy!(CachedFileUpdaterActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl CachedFileUpdaterActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3791,8 +3790,8 @@ unsafe impl Sync for CachedFileUpdaterActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CameraSettingsActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CameraSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CameraSettingsActivatedEventArgs, IActivatedEventArgs, ICameraSettingsActivatedEventArgs); +windows_core::imp::interface_hierarchy!(CameraSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ICameraSettingsActivatedEventArgs); +windows_core::imp::required_hierarchy!(CameraSettingsActivatedEventArgs, IActivatedEventArgs); impl CameraSettingsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3845,8 +3844,8 @@ unsafe impl Sync for CameraSettingsActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CommandLineActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CommandLineActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CommandLineActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, ICommandLineActivatedEventArgs); +windows_core::imp::interface_hierarchy!(CommandLineActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ICommandLineActivatedEventArgs); +windows_core::imp::required_hierarchy!(CommandLineActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl CommandLineActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -3950,8 +3949,8 @@ unsafe impl Sync for CommandLineActivationOperation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactCallActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactCallActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs, IContactCallActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ContactCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IContactCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(ContactCallActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl ContactCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4019,8 +4018,8 @@ unsafe impl Sync for ContactCallActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactMapActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactMapActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactMapActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs, IContactMapActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ContactMapActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IContactMapActivatedEventArgs); +windows_core::imp::required_hierarchy!(ContactMapActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl ContactMapActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4082,8 +4081,8 @@ unsafe impl Sync for ContactMapActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactMessageActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactMessageActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactMessageActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs, IContactMessageActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ContactMessageActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IContactMessageActivatedEventArgs); +windows_core::imp::required_hierarchy!(ContactMessageActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl ContactMessageActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4151,8 +4150,8 @@ unsafe impl Sync for ContactMessageActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactPanelActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactPanelActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactPanelActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContactPanelActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ContactPanelActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IContactPanelActivatedEventArgs); +windows_core::imp::required_hierarchy!(ContactPanelActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl ContactPanelActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4215,8 +4214,8 @@ unsafe impl Sync for ContactPanelActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactPickerActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactPickerActivatedEventArgs, IActivatedEventArgs, IContactPickerActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ContactPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IContactPickerActivatedEventArgs); +windows_core::imp::required_hierarchy!(ContactPickerActivatedEventArgs, IActivatedEventArgs); impl ContactPickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4263,8 +4262,8 @@ unsafe impl Sync for ContactPickerActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactPostActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactPostActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactPostActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs, IContactPostActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ContactPostActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IContactPostActivatedEventArgs); +windows_core::imp::required_hierarchy!(ContactPostActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl ContactPostActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4332,8 +4331,8 @@ unsafe impl Sync for ContactPostActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactVideoCallActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactVideoCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactVideoCallActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs, IContactVideoCallActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ContactVideoCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IContactVideoCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(ContactVideoCallActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl ContactVideoCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4401,8 +4400,8 @@ unsafe impl Sync for ContactVideoCallActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DeviceActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DeviceActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DeviceActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(DeviceActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IDeviceActivatedEventArgs); +windows_core::imp::required_hierarchy!(DeviceActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IViewSwitcherProvider); impl DeviceActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4478,8 +4477,8 @@ unsafe impl Sync for DeviceActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DevicePairingActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DevicePairingActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DevicePairingActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IDevicePairingActivatedEventArgs); +windows_core::imp::interface_hierarchy!(DevicePairingActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IDevicePairingActivatedEventArgs); +windows_core::imp::required_hierarchy!(DevicePairingActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl DevicePairingActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4534,8 +4533,8 @@ unsafe impl Sync for DevicePairingActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DialReceiverActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DialReceiverActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DialReceiverActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDialReceiverActivatedEventArgs, ILaunchActivatedEventArgs, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(DialReceiverActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IDialReceiverActivatedEventArgs); +windows_core::imp::required_hierarchy!(DialReceiverActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, ILaunchActivatedEventArgs, IViewSwitcherProvider); impl DialReceiverActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4618,8 +4617,8 @@ unsafe impl Sync for DialReceiverActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(FileActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IFileActivatedEventArgs, IFileActivatedEventArgsWithCallerPackageFamilyName, IFileActivatedEventArgsWithNeighboringFiles, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(FileActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IFileActivatedEventArgs); +windows_core::imp::required_hierarchy!(FileActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IFileActivatedEventArgsWithCallerPackageFamilyName, IFileActivatedEventArgsWithNeighboringFiles, IViewSwitcherProvider); impl FileActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4711,8 +4710,8 @@ unsafe impl Sync for FileActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileOpenPickerActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileOpenPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(FileOpenPickerActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IFileOpenPickerActivatedEventArgs, IFileOpenPickerActivatedEventArgs2); +windows_core::imp::interface_hierarchy!(FileOpenPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IFileOpenPickerActivatedEventArgs); +windows_core::imp::required_hierarchy!(FileOpenPickerActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IFileOpenPickerActivatedEventArgs2); impl FileOpenPickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4776,9 +4775,9 @@ unsafe impl Sync for FileOpenPickerActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileOpenPickerContinuationEventArgs(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(FileOpenPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FileOpenPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, IFileOpenPickerContinuationEventArgs); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(FileOpenPickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs, IFileOpenPickerContinuationEventArgs); +windows_core::imp::required_hierarchy!(FileOpenPickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl FileOpenPickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { @@ -4847,8 +4846,8 @@ unsafe impl Sync for FileOpenPickerContinuationEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileSavePickerActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileSavePickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(FileSavePickerActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IFileSavePickerActivatedEventArgs, IFileSavePickerActivatedEventArgs2); +windows_core::imp::interface_hierarchy!(FileSavePickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IFileSavePickerActivatedEventArgs); +windows_core::imp::required_hierarchy!(FileSavePickerActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IFileSavePickerActivatedEventArgs2); impl FileSavePickerActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -4919,9 +4918,9 @@ unsafe impl Sync for FileSavePickerActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileSavePickerContinuationEventArgs(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(FileSavePickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FileSavePickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, IFileSavePickerContinuationEventArgs); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(FileSavePickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs, IFileSavePickerContinuationEventArgs); +windows_core::imp::required_hierarchy!(FileSavePickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl FileSavePickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { @@ -4992,9 +4991,9 @@ unsafe impl Sync for FileSavePickerContinuationEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct FolderPickerContinuationEventArgs(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(FolderPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FolderPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, IFolderPickerContinuationEventArgs); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(FolderPickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs, IFolderPickerContinuationEventArgs); +windows_core::imp::required_hierarchy!(FolderPickerContinuationEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IContinuationActivatedEventArgs); #[cfg(feature = "deprecated")] impl FolderPickerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { @@ -5063,8 +5062,8 @@ unsafe impl Sync for FolderPickerContinuationEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LaunchActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LaunchActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, ILaunchActivatedEventArgs, ILaunchActivatedEventArgs2, IPrelaunchActivatedEventArgs, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(LaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ILaunchActivatedEventArgs); +windows_core::imp::required_hierarchy!(LaunchActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, ILaunchActivatedEventArgs2, IPrelaunchActivatedEventArgs, IViewSwitcherProvider); impl LaunchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5154,8 +5153,8 @@ unsafe impl Sync for LaunchActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LockScreenActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LockScreenActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LockScreenActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs); +windows_core::imp::interface_hierarchy!(LockScreenActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ILockScreenActivatedEventArgs); +windows_core::imp::required_hierarchy!(LockScreenActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl LockScreenActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5209,8 +5208,8 @@ unsafe impl Sync for LockScreenActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LockScreenCallActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LockScreenCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LockScreenCallActivatedEventArgs, IActivatedEventArgs, IApplicationViewActivatedEventArgs, ILaunchActivatedEventArgs, ILockScreenCallActivatedEventArgs, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(LockScreenCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ILockScreenCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(LockScreenCallActivatedEventArgs, IActivatedEventArgs, IApplicationViewActivatedEventArgs, ILaunchActivatedEventArgs, IViewSwitcherProvider); impl LockScreenCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5286,8 +5285,7 @@ unsafe impl Sync for LockScreenCallActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LockScreenComponentActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LockScreenComponentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LockScreenComponentActivatedEventArgs, IActivatedEventArgs); +windows_core::imp::interface_hierarchy!(LockScreenComponentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IActivatedEventArgs); impl LockScreenComponentActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = self; @@ -5326,8 +5324,8 @@ unsafe impl Sync for LockScreenComponentActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PhoneCallActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PhoneCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PhoneCallActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IPhoneCallActivatedEventArgs); +windows_core::imp::interface_hierarchy!(PhoneCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IPhoneCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(PhoneCallActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl PhoneCallActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5381,8 +5379,8 @@ unsafe impl Sync for PhoneCallActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PickerReturnedActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PickerReturnedActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PickerReturnedActivatedEventArgs, IActivatedEventArgs, IPickerReturnedActivatedEventArgs); +windows_core::imp::interface_hierarchy!(PickerReturnedActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IPickerReturnedActivatedEventArgs); +windows_core::imp::required_hierarchy!(PickerReturnedActivatedEventArgs, IActivatedEventArgs); impl PickerReturnedActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5428,8 +5426,8 @@ unsafe impl Sync for PickerReturnedActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct Print3DWorkflowActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(Print3DWorkflowActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(Print3DWorkflowActivatedEventArgs, IActivatedEventArgs, IPrint3DWorkflowActivatedEventArgs); +windows_core::imp::interface_hierarchy!(Print3DWorkflowActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IPrint3DWorkflowActivatedEventArgs); +windows_core::imp::required_hierarchy!(Print3DWorkflowActivatedEventArgs, IActivatedEventArgs); impl Print3DWorkflowActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5476,8 +5474,8 @@ unsafe impl Sync for Print3DWorkflowActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintTaskSettingsActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintTaskSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintTaskSettingsActivatedEventArgs, IActivatedEventArgs, IPrintTaskSettingsActivatedEventArgs); +windows_core::imp::interface_hierarchy!(PrintTaskSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IPrintTaskSettingsActivatedEventArgs); +windows_core::imp::required_hierarchy!(PrintTaskSettingsActivatedEventArgs, IActivatedEventArgs); impl PrintTaskSettingsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5524,8 +5522,8 @@ unsafe impl Sync for PrintTaskSettingsActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ProtocolActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ProtocolActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ProtocolActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(ProtocolActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IProtocolActivatedEventArgs); +windows_core::imp::required_hierarchy!(ProtocolActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IViewSwitcherProvider); impl ProtocolActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5609,8 +5607,8 @@ unsafe impl Sync for ProtocolActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ProtocolForResultsActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ProtocolForResultsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ProtocolForResultsActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(ProtocolForResultsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IProtocolForResultsActivatedEventArgs); +windows_core::imp::required_hierarchy!(ProtocolForResultsActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IViewSwitcherProvider); impl ProtocolForResultsActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5702,8 +5700,8 @@ unsafe impl Sync for ProtocolForResultsActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct RestrictedLaunchActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(RestrictedLaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(RestrictedLaunchActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IRestrictedLaunchActivatedEventArgs); +windows_core::imp::interface_hierarchy!(RestrictedLaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IRestrictedLaunchActivatedEventArgs); +windows_core::imp::required_hierarchy!(RestrictedLaunchActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl RestrictedLaunchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5757,8 +5755,8 @@ unsafe impl Sync for RestrictedLaunchActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SearchActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SearchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SearchActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, ISearchActivatedEventArgs, ISearchActivatedEventArgsWithLinguisticDetails, IViewSwitcherProvider); +windows_core::imp::interface_hierarchy!(SearchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ISearchActivatedEventArgs); +windows_core::imp::required_hierarchy!(SearchActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, ISearchActivatedEventArgsWithLinguisticDetails, IViewSwitcherProvider); impl SearchActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5842,8 +5840,8 @@ unsafe impl Sync for SearchActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ShareTargetActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ShareTargetActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ShareTargetActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IShareTargetActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ShareTargetActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IShareTargetActivatedEventArgs); +windows_core::imp::required_hierarchy!(ShareTargetActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl ShareTargetActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -5935,8 +5933,8 @@ impl windows_core::RuntimeName for SplashScreen { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct StartupTaskActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(StartupTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(StartupTaskActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IStartupTaskActivatedEventArgs); +windows_core::imp::interface_hierarchy!(StartupTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IStartupTaskActivatedEventArgs); +windows_core::imp::required_hierarchy!(StartupTaskActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl StartupTaskActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -6016,8 +6014,8 @@ unsafe impl Sync for TileActivatedInfo {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ToastNotificationActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ToastNotificationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ToastNotificationActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs); +windows_core::imp::interface_hierarchy!(ToastNotificationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IToastNotificationActivatedEventArgs); +windows_core::imp::required_hierarchy!(ToastNotificationActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs); impl ToastNotificationActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -6086,8 +6084,8 @@ unsafe impl Sync for ToastNotificationActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct UserDataAccountProviderActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(UserDataAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(UserDataAccountProviderActivatedEventArgs, IActivatedEventArgs, IUserDataAccountProviderActivatedEventArgs); +windows_core::imp::interface_hierarchy!(UserDataAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IUserDataAccountProviderActivatedEventArgs); +windows_core::imp::required_hierarchy!(UserDataAccountProviderActivatedEventArgs, IActivatedEventArgs); impl UserDataAccountProviderActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -6134,8 +6132,8 @@ unsafe impl Sync for UserDataAccountProviderActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct VoiceCommandActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(VoiceCommandActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(VoiceCommandActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IVoiceCommandActivatedEventArgs); +windows_core::imp::interface_hierarchy!(VoiceCommandActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IVoiceCommandActivatedEventArgs); +windows_core::imp::required_hierarchy!(VoiceCommandActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl VoiceCommandActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -6192,9 +6190,9 @@ unsafe impl Sync for VoiceCommandActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct WalletActionActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(WalletActionActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WalletActionActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IWalletActionActivatedEventArgs); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(WalletActionActivatedEventArgs, IActivatedEventArgs, IWalletActionActivatedEventArgs); +windows_core::imp::required_hierarchy!(WalletActionActivatedEventArgs, IActivatedEventArgs); #[cfg(feature = "deprecated")] impl WalletActionActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { @@ -6263,8 +6261,8 @@ unsafe impl Sync for WalletActionActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebAccountProviderActivatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebAccountProviderActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser, IWebAccountProviderActivatedEventArgs); +windows_core::imp::interface_hierarchy!(WebAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IWebAccountProviderActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebAccountProviderActivatedEventArgs, IActivatedEventArgs, IActivatedEventArgsWithUser); impl WebAccountProviderActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -6319,8 +6317,8 @@ unsafe impl Sync for WebAccountProviderActivatedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebAuthenticationBrokerContinuationEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebAuthenticationBrokerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebAuthenticationBrokerContinuationEventArgs, IActivatedEventArgs, IContinuationActivatedEventArgs, IWebAuthenticationBrokerContinuationEventArgs); +windows_core::imp::interface_hierarchy!(WebAuthenticationBrokerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, IWebAuthenticationBrokerContinuationEventArgs); +windows_core::imp::required_hierarchy!(WebAuthenticationBrokerContinuationEventArgs, IActivatedEventArgs, IContinuationActivatedEventArgs); impl WebAuthenticationBrokerContinuationEventArgs { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 94771169f9..860bd26388 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -1835,8 +1835,7 @@ unsafe impl Sync for AppointmentManagerForUser {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AppointmentOrganizer(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AppointmentOrganizer, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AppointmentOrganizer, IAppointmentParticipant); +windows_core::imp::interface_hierarchy!(AppointmentOrganizer, windows_core::IUnknown, windows_core::IInspectable, IAppointmentParticipant); impl AppointmentOrganizer { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 39bee5068b..bafd4d2438 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -2180,8 +2180,8 @@ unsafe impl Sync for BackgroundTaskProgressEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct BackgroundTaskRegistration(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(BackgroundTaskRegistration, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(BackgroundTaskRegistration, IBackgroundTaskRegistration, IBackgroundTaskRegistration2, IBackgroundTaskRegistration3); +windows_core::imp::interface_hierarchy!(BackgroundTaskRegistration, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTaskRegistration); +windows_core::imp::required_hierarchy!(BackgroundTaskRegistration, IBackgroundTaskRegistration2, IBackgroundTaskRegistration3); impl BackgroundTaskRegistration { pub fn TaskId(&self) -> windows_core::Result { let this = self; @@ -2806,8 +2806,7 @@ impl windows_core::RuntimeName for ContentPrefetchTrigger { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ConversationalAgentTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ConversationalAgentTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ConversationalAgentTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(ConversationalAgentTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl ConversationalAgentTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3421,8 +3420,7 @@ impl windows_core::RuntimeName for MediaProcessingTrigger { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MobileBroadbandDeviceServiceNotificationTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MobileBroadbandDeviceServiceNotificationTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MobileBroadbandDeviceServiceNotificationTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(MobileBroadbandDeviceServiceNotificationTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl MobileBroadbandDeviceServiceNotificationTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3447,8 +3445,7 @@ unsafe impl Sync for MobileBroadbandDeviceServiceNotificationTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MobileBroadbandPcoDataChangeTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MobileBroadbandPcoDataChangeTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MobileBroadbandPcoDataChangeTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(MobileBroadbandPcoDataChangeTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl MobileBroadbandPcoDataChangeTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3473,8 +3470,7 @@ unsafe impl Sync for MobileBroadbandPcoDataChangeTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MobileBroadbandPinLockStateChangeTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MobileBroadbandPinLockStateChangeTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MobileBroadbandPinLockStateChangeTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(MobileBroadbandPinLockStateChangeTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl MobileBroadbandPinLockStateChangeTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3499,8 +3495,7 @@ unsafe impl Sync for MobileBroadbandPinLockStateChangeTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MobileBroadbandRadioStateChangeTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MobileBroadbandRadioStateChangeTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MobileBroadbandRadioStateChangeTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(MobileBroadbandRadioStateChangeTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl MobileBroadbandRadioStateChangeTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3525,8 +3520,7 @@ unsafe impl Sync for MobileBroadbandRadioStateChangeTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MobileBroadbandRegistrationStateChangeTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MobileBroadbandRegistrationStateChangeTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MobileBroadbandRegistrationStateChangeTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(MobileBroadbandRegistrationStateChangeTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl MobileBroadbandRegistrationStateChangeTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3551,8 +3545,7 @@ unsafe impl Sync for MobileBroadbandRegistrationStateChangeTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct NetworkOperatorDataUsageTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(NetworkOperatorDataUsageTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(NetworkOperatorDataUsageTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(NetworkOperatorDataUsageTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl NetworkOperatorDataUsageTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3636,8 +3629,7 @@ impl windows_core::RuntimeName for NetworkOperatorNotificationTrigger { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PaymentAppCanMakePaymentTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PaymentAppCanMakePaymentTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PaymentAppCanMakePaymentTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(PaymentAppCanMakePaymentTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl PaymentAppCanMakePaymentTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3708,8 +3700,7 @@ unsafe impl Sync for PhoneTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PushNotificationTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PushNotificationTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PushNotificationTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(PushNotificationTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl PushNotificationTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3955,8 +3946,7 @@ impl windows_core::RuntimeName for SmartCardTrigger { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SmsMessageReceivedTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SmsMessageReceivedTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SmsMessageReceivedTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(SmsMessageReceivedTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl SmsMessageReceivedTrigger { #[cfg(feature = "Devices_Sms")] pub fn Create(filterrules: P0) -> windows_core::Result @@ -3989,8 +3979,7 @@ unsafe impl Sync for SmsMessageReceivedTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SocketActivityTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SocketActivityTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SocketActivityTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(SocketActivityTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl SocketActivityTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -4022,8 +4011,7 @@ unsafe impl Sync for SocketActivityTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct StorageLibraryChangeTrackerTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(StorageLibraryChangeTrackerTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(StorageLibraryChangeTrackerTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(StorageLibraryChangeTrackerTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl StorageLibraryChangeTrackerTrigger { #[cfg(feature = "Storage")] pub fn Create(tracker: P0) -> windows_core::Result @@ -4175,8 +4163,7 @@ impl windows_core::RuntimeName for SystemTrigger { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct TetheringEntitlementCheckTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(TetheringEntitlementCheckTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(TetheringEntitlementCheckTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(TetheringEntitlementCheckTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl TetheringEntitlementCheckTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -4243,8 +4230,7 @@ impl windows_core::RuntimeName for TimeTrigger { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ToastNotificationActionTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ToastNotificationActionTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ToastNotificationActionTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(ToastNotificationActionTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl ToastNotificationActionTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -4280,8 +4266,7 @@ unsafe impl Sync for ToastNotificationActionTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ToastNotificationHistoryChangedTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ToastNotificationHistoryChangedTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ToastNotificationHistoryChangedTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(ToastNotificationHistoryChangedTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl ToastNotificationHistoryChangedTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -4317,8 +4302,7 @@ unsafe impl Sync for ToastNotificationHistoryChangedTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct UserNotificationChangedTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(UserNotificationChangedTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(UserNotificationChangedTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(UserNotificationChangedTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl UserNotificationChangedTrigger { #[cfg(feature = "UI_Notifications")] pub fn Create(notificationkinds: super::super::UI::Notifications::NotificationKinds) -> windows_core::Result { @@ -4348,8 +4332,7 @@ unsafe impl Sync for UserNotificationChangedTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WiFiOnDemandHotspotConnectTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WiFiOnDemandHotspotConnectTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WiFiOnDemandHotspotConnectTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(WiFiOnDemandHotspotConnectTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl WiFiOnDemandHotspotConnectTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -4374,8 +4357,7 @@ unsafe impl Sync for WiFiOnDemandHotspotConnectTrigger {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WiFiOnDemandHotspotUpdateMetadataTrigger(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WiFiOnDemandHotspotUpdateMetadataTrigger, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WiFiOnDemandHotspotUpdateMetadataTrigger, IBackgroundTrigger); +windows_core::imp::interface_hierarchy!(WiFiOnDemandHotspotUpdateMetadataTrigger, windows_core::IUnknown, windows_core::IInspectable, IBackgroundTrigger); impl WiFiOnDemandHotspotUpdateMetadataTrigger { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 64a60e9396..011bf03064 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -2706,8 +2706,7 @@ unsafe impl Sync for ContactEmail {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactField(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactField, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactField, IContactField); +windows_core::imp::interface_hierarchy!(ContactField, windows_core::IUnknown, windows_core::IInspectable, IContactField); impl ContactField { pub fn Type(&self) -> windows_core::Result { let this = self; @@ -2776,8 +2775,8 @@ unsafe impl Sync for ContactField {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactFieldFactory(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactFieldFactory, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactFieldFactory, IContactFieldFactory, IContactInstantMessageFieldFactory, IContactLocationFieldFactory); +windows_core::imp::interface_hierarchy!(ContactFieldFactory, windows_core::IUnknown, windows_core::IInspectable, IContactFieldFactory); +windows_core::imp::required_hierarchy!(ContactFieldFactory, IContactInstantMessageFieldFactory, IContactLocationFieldFactory); impl ContactFieldFactory { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) 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 6454f05534..637f333306 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -373,9 +373,9 @@ unsafe impl Sync for ResourceCandidate {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceCandidateVectorView(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceCandidateVectorView, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ResourceCandidateVectorView, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceCandidateVectorView, super::super::super::Foundation::Collections::IIterable::, super::super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(ResourceCandidateVectorView, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl ResourceCandidateVectorView { #[cfg(feature = "Foundation_Collections")] @@ -604,9 +604,9 @@ unsafe impl Sync for ResourceContext {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceContextLanguagesVectorView(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceContextLanguagesVectorView, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ResourceContextLanguagesVectorView, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceContextLanguagesVectorView, super::super::super::Foundation::Collections::IIterable::, super::super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(ResourceContextLanguagesVectorView, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl ResourceContextLanguagesVectorView { #[cfg(feature = "Foundation_Collections")] @@ -881,9 +881,7 @@ unsafe impl Sync for ResourceMap {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceMapIterator(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceMapIterator, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceMapIterator, super::super::super::Foundation::Collections::IIterator::>); +windows_core::imp::interface_hierarchy!(ResourceMapIterator, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterator::>); #[cfg(feature = "Foundation_Collections")] impl ResourceMapIterator { #[cfg(feature = "Foundation_Collections")] @@ -941,9 +939,9 @@ unsafe impl Sync for ResourceMapIterator {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceMapMapView(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceMapMapView, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ResourceMapMapView, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IMapView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceMapMapView, super::super::super::Foundation::Collections::IIterable::>, super::super::super::Foundation::Collections::IMapView::); +windows_core::imp::required_hierarchy!(ResourceMapMapView, super::super::super::Foundation::Collections::IIterable::>); #[cfg(feature = "Foundation_Collections")] impl ResourceMapMapView { #[cfg(feature = "Foundation_Collections")] @@ -1022,9 +1020,7 @@ unsafe impl Sync for ResourceMapMapView {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceMapMapViewIterator(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceMapMapViewIterator, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceMapMapViewIterator, super::super::super::Foundation::Collections::IIterator::>); +windows_core::imp::interface_hierarchy!(ResourceMapMapViewIterator, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterator::>); #[cfg(feature = "Foundation_Collections")] impl ResourceMapMapViewIterator { #[cfg(feature = "Foundation_Collections")] @@ -1135,9 +1131,9 @@ unsafe impl Sync for ResourceQualifier {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceQualifierMapView(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceQualifierMapView, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ResourceQualifierMapView, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IMapView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceQualifierMapView, super::super::super::Foundation::Collections::IIterable::>, super::super::super::Foundation::Collections::IMapView::); +windows_core::imp::required_hierarchy!(ResourceQualifierMapView, super::super::super::Foundation::Collections::IIterable::>); #[cfg(feature = "Foundation_Collections")] impl ResourceQualifierMapView { #[cfg(feature = "Foundation_Collections")] @@ -1216,9 +1212,9 @@ unsafe impl Sync for ResourceQualifierMapView {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceQualifierObservableMap(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceQualifierObservableMap, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ResourceQualifierObservableMap, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IObservableMap::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceQualifierObservableMap, super::super::super::Foundation::Collections::IIterable::>, super::super::super::Foundation::Collections::IMap::, super::super::super::Foundation::Collections::IObservableMap::); +windows_core::imp::required_hierarchy!(ResourceQualifierObservableMap, super::super::super::Foundation::Collections::IIterable::>, super::super::super::Foundation::Collections::IMap::); #[cfg(feature = "Foundation_Collections")] impl ResourceQualifierObservableMap { #[cfg(feature = "Foundation_Collections")] @@ -1334,9 +1330,9 @@ unsafe impl Sync for ResourceQualifierObservableMap {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ResourceQualifierVectorView(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ResourceQualifierVectorView, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ResourceQualifierVectorView, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ResourceQualifierVectorView, super::super::super::Foundation::Collections::IIterable::, super::super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(ResourceQualifierVectorView, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl ResourceQualifierVectorView { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index 51e7ff2c2a..0e16a325c6 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -709,9 +709,7 @@ impl windows_core::RuntimeName for SearchPane { #[derive(PartialEq, Eq, Debug, Clone)] pub struct SearchPaneQueryChangedEventArgs(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(SearchPaneQueryChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(SearchPaneQueryChangedEventArgs, ISearchPaneQueryChangedEventArgs); +windows_core::imp::interface_hierarchy!(SearchPaneQueryChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ISearchPaneQueryChangedEventArgs); #[cfg(feature = "deprecated")] impl SearchPaneQueryChangedEventArgs { #[cfg(feature = "deprecated")] diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index 1071da5ccc..44a35ab219 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -638,8 +638,7 @@ unsafe impl Sync for UserActivityChannel {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct UserActivityContentInfo(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(UserActivityContentInfo, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(UserActivityContentInfo, IUserActivityContentInfo); +windows_core::imp::interface_hierarchy!(UserActivityContentInfo, windows_core::IUnknown, windows_core::IInspectable, IUserActivityContentInfo); impl UserActivityContentInfo { pub fn ToJson(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index ff12d18b99..b02e811f81 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -1317,8 +1317,7 @@ impl windows_core::RuntimeName for DesignMode { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct EnteredBackgroundEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(EnteredBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(EnteredBackgroundEventArgs, IEnteredBackgroundEventArgs); +windows_core::imp::interface_hierarchy!(EnteredBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable, IEnteredBackgroundEventArgs); impl EnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; @@ -1511,8 +1510,7 @@ impl windows_core::RuntimeName for FullTrustProcessLauncher { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LeavingBackgroundEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LeavingBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LeavingBackgroundEventArgs, ILeavingBackgroundEventArgs); +windows_core::imp::interface_hierarchy!(LeavingBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable, ILeavingBackgroundEventArgs); impl LeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; @@ -2903,8 +2901,7 @@ unsafe impl Sync for StartupTask {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SuspendingDeferral(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SuspendingDeferral, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SuspendingDeferral, ISuspendingDeferral); +windows_core::imp::interface_hierarchy!(SuspendingDeferral, windows_core::IUnknown, windows_core::IInspectable, ISuspendingDeferral); impl SuspendingDeferral { pub fn Complete(&self) -> windows_core::Result<()> { let this = self; @@ -2926,8 +2923,7 @@ unsafe impl Sync for SuspendingDeferral {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SuspendingEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SuspendingEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SuspendingEventArgs, ISuspendingEventArgs); +windows_core::imp::interface_hierarchy!(SuspendingEventArgs, windows_core::IUnknown, windows_core::IInspectable, ISuspendingEventArgs); impl SuspendingEventArgs { pub fn SuspendingOperation(&self) -> windows_core::Result { let this = self; @@ -2952,8 +2948,7 @@ unsafe impl Sync for SuspendingEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SuspendingOperation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SuspendingOperation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SuspendingOperation, ISuspendingOperation); +windows_core::imp::interface_hierarchy!(SuspendingOperation, windows_core::IUnknown, windows_core::IInspectable, ISuspendingOperation); impl SuspendingOperation { pub fn GetDeferral(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index 57049eb75a..aefcfc8120 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -707,8 +707,8 @@ unsafe impl Sync for JsonObject {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct JsonValue(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(JsonValue, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(JsonValue, IJsonValue, super::super::Foundation::IStringable); +windows_core::imp::interface_hierarchy!(JsonValue, windows_core::IUnknown, windows_core::IInspectable, IJsonValue); +windows_core::imp::required_hierarchy!(JsonValue, super::super::Foundation::IStringable); impl JsonValue { pub fn ValueType(&self) -> windows_core::Result { let this = self; 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 990623bb11..ec66a15312 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -4703,8 +4703,8 @@ unsafe impl Sync for XmlProcessingInstruction {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct XmlText(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(XmlText, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(XmlText, IXmlCharacterData, IXmlNode, IXmlNodeSelector, IXmlNodeSerializer, IXmlText); +windows_core::imp::interface_hierarchy!(XmlText, windows_core::IUnknown, windows_core::IInspectable, IXmlText); +windows_core::imp::required_hierarchy!(XmlText, IXmlCharacterData, IXmlNode, IXmlNodeSelector, IXmlNodeSerializer); impl XmlText { pub fn Data(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs index fc2204cb96..2831cdd84c 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -187,8 +187,7 @@ unsafe impl Sync for CustomDevice {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct IOControlCode(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(IOControlCode, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(IOControlCode, IIOControlCode); +windows_core::imp::interface_hierarchy!(IOControlCode, windows_core::IUnknown, windows_core::IInspectable, IIOControlCode); impl IOControlCode { pub fn AccessMode(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs index 7d9e16f776..3590d0adbe 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -183,9 +183,9 @@ unsafe impl Sync for PnpObject {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct PnpObjectCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PnpObjectCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(PnpObjectCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PnpObjectCollection, super::super::super::Foundation::Collections::IIterable::, super::super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(PnpObjectCollection, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl PnpObjectCollection { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index ed46b38369..53026bf775 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -988,9 +988,9 @@ unsafe impl Sync for DeviceInformation {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct DeviceInformationCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(DeviceInformationCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(DeviceInformationCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(DeviceInformationCollection, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(DeviceInformationCollection, super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl DeviceInformationCollection { #[cfg(feature = "Foundation_Collections")] @@ -1719,9 +1719,9 @@ unsafe impl Sync for DeviceSelectedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct DeviceThumbnail(windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] -windows_core::imp::interface_hierarchy!(DeviceThumbnail, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(DeviceThumbnail, windows_core::IUnknown, windows_core::IInspectable, super::super::Storage::Streams::IRandomAccessStreamWithContentType); #[cfg(feature = "Storage_Streams")] -windows_core::imp::required_hierarchy!(DeviceThumbnail, super::super::Foundation::IClosable, super::super::Storage::Streams::IContentTypeProvider, super::super::Storage::Streams::IInputStream, super::super::Storage::Streams::IOutputStream, super::super::Storage::Streams::IRandomAccessStream, super::super::Storage::Streams::IRandomAccessStreamWithContentType); +windows_core::imp::required_hierarchy!(DeviceThumbnail, super::super::Foundation::IClosable, super::super::Storage::Streams::IContentTypeProvider, super::super::Storage::Streams::IInputStream, super::super::Storage::Streams::IOutputStream, super::super::Storage::Streams::IRandomAccessStream); #[cfg(feature = "Storage_Streams")] impl DeviceThumbnail { pub fn Close(&self) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index 95dc3e8653..dad67b820f 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -371,8 +371,7 @@ pub struct IMidiTimeCodeMessageFactory_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiActiveSensingMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiActiveSensingMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiActiveSensingMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiActiveSensingMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiActiveSensingMessage { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -485,8 +484,7 @@ unsafe impl Sync for MidiChannelPressureMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiContinueMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiContinueMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiContinueMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiContinueMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiContinueMessage { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -838,8 +836,8 @@ unsafe impl Sync for MidiNoteOnMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiOutPort(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiOutPort, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiOutPort, super::super::Foundation::IClosable, IMidiOutPort); +windows_core::imp::interface_hierarchy!(MidiOutPort, windows_core::IUnknown, windows_core::IInspectable, IMidiOutPort); +windows_core::imp::required_hierarchy!(MidiOutPort, super::super::Foundation::IClosable); impl MidiOutPort { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1223,8 +1221,7 @@ unsafe impl Sync for MidiSongSelectMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiStartMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiStartMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiStartMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiStartMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiStartMessage { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1271,8 +1268,7 @@ unsafe impl Sync for MidiStartMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiStopMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiStopMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiStopMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiStopMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiStopMessage { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1414,8 +1410,7 @@ unsafe impl Sync for MidiSynthesizer {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiSystemExclusiveMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiSystemExclusiveMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiSystemExclusiveMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiSystemExclusiveMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiSystemExclusiveMessage { pub fn Timestamp(&self) -> windows_core::Result { let this = self; @@ -1470,8 +1465,7 @@ unsafe impl Sync for MidiSystemExclusiveMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiSystemResetMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiSystemResetMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiSystemResetMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiSystemResetMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiSystemResetMessage { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1584,8 +1578,7 @@ unsafe impl Sync for MidiTimeCodeMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiTimingClockMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiTimingClockMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiTimingClockMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiTimingClockMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiTimingClockMessage { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1632,8 +1625,7 @@ unsafe impl Sync for MidiTimingClockMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MidiTuneRequestMessage(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MidiTuneRequestMessage, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MidiTuneRequestMessage, IMidiMessage); +windows_core::imp::interface_hierarchy!(MidiTuneRequestMessage, windows_core::IUnknown, windows_core::IInspectable, IMidiMessage); impl MidiTuneRequestMessage { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index b89f8a7cbd..7dfbfe5c90 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -3576,8 +3576,7 @@ unsafe impl Sync for CashDrawerCloseAlarm {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CashDrawerClosedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CashDrawerClosedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CashDrawerClosedEventArgs, ICashDrawerEventSourceEventArgs); +windows_core::imp::interface_hierarchy!(CashDrawerClosedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ICashDrawerEventSourceEventArgs); impl CashDrawerClosedEventArgs { pub fn CashDrawer(&self) -> windows_core::Result { let this = self; @@ -3648,8 +3647,7 @@ unsafe impl Sync for CashDrawerEventSource {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CashDrawerOpenedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CashDrawerOpenedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CashDrawerOpenedEventArgs, ICashDrawerEventSourceEventArgs); +windows_core::imp::interface_hierarchy!(CashDrawerOpenedEventArgs, windows_core::IUnknown, windows_core::IInspectable, ICashDrawerEventSourceEventArgs); impl CashDrawerOpenedEventArgs { pub fn CashDrawer(&self) -> windows_core::Result { let this = self; @@ -5454,8 +5452,7 @@ unsafe impl Sync for ClaimedSlipPrinter {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct JournalPrintJob(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(JournalPrintJob, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(JournalPrintJob, IPosPrinterJob); +windows_core::imp::interface_hierarchy!(JournalPrintJob, windows_core::IUnknown, windows_core::IInspectable, IPosPrinterJob); impl JournalPrintJob { pub fn Print(&self, data: &windows_core::HSTRING, printoptions: P0) -> windows_core::Result<()> where @@ -8260,8 +8257,8 @@ unsafe impl Sync for ReceiptPrinterCapabilities {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SlipPrintJob(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SlipPrintJob, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SlipPrintJob, IPosPrinterJob, IReceiptOrSlipJob); +windows_core::imp::interface_hierarchy!(SlipPrintJob, windows_core::IUnknown, windows_core::IInspectable, IReceiptOrSlipJob); +windows_core::imp::required_hierarchy!(SlipPrintJob, IPosPrinterJob); impl SlipPrintJob { pub fn Print(&self, data: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs index c81e840af3..9e915cdcda 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -505,8 +505,7 @@ unsafe impl Sync for ImageScanner {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ImageScannerAutoConfiguration(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ImageScannerAutoConfiguration, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ImageScannerAutoConfiguration, IImageScannerFormatConfiguration); +windows_core::imp::interface_hierarchy!(ImageScannerAutoConfiguration, windows_core::IUnknown, windows_core::IInspectable, IImageScannerFormatConfiguration); impl ImageScannerAutoConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { let this = self; @@ -549,8 +548,8 @@ unsafe impl Sync for ImageScannerAutoConfiguration {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ImageScannerFeederConfiguration(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ImageScannerFeederConfiguration, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ImageScannerFeederConfiguration, IImageScannerFormatConfiguration, IImageScannerSourceConfiguration); +windows_core::imp::interface_hierarchy!(ImageScannerFeederConfiguration, windows_core::IUnknown, windows_core::IInspectable, IImageScannerFormatConfiguration); +windows_core::imp::required_hierarchy!(ImageScannerFeederConfiguration, IImageScannerSourceConfiguration); impl ImageScannerFeederConfiguration { pub fn CanAutoDetectPageSize(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -884,8 +883,8 @@ unsafe impl Sync for ImageScannerFeederConfiguration {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ImageScannerFlatbedConfiguration(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ImageScannerFlatbedConfiguration, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ImageScannerFlatbedConfiguration, IImageScannerFormatConfiguration, IImageScannerSourceConfiguration); +windows_core::imp::interface_hierarchy!(ImageScannerFlatbedConfiguration, windows_core::IUnknown, windows_core::IInspectable, IImageScannerFormatConfiguration); +windows_core::imp::required_hierarchy!(ImageScannerFlatbedConfiguration, IImageScannerSourceConfiguration); impl ImageScannerFlatbedConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index 0310dc5842..07e71b5f2e 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -5389,8 +5389,7 @@ unsafe impl Sync for Pedometer {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PedometerDataThreshold(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PedometerDataThreshold, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PedometerDataThreshold, ISensorDataThreshold); +windows_core::imp::interface_hierarchy!(PedometerDataThreshold, windows_core::IUnknown, windows_core::IInspectable, ISensorDataThreshold); impl PedometerDataThreshold { pub fn Create(sensor: P0, stepgoal: i32) -> windows_core::Result where @@ -5592,8 +5591,7 @@ unsafe impl Sync for ProximitySensor {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ProximitySensorDataThreshold(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ProximitySensorDataThreshold, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ProximitySensorDataThreshold, ISensorDataThreshold); +windows_core::imp::interface_hierarchy!(ProximitySensorDataThreshold, windows_core::IUnknown, windows_core::IInspectable, ISensorDataThreshold); impl ProximitySensorDataThreshold { pub fn Create(sensor: P0) -> windows_core::Result where @@ -5625,8 +5623,7 @@ unsafe impl Sync for ProximitySensorDataThreshold {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ProximitySensorDisplayOnOffController(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ProximitySensorDisplayOnOffController, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ProximitySensorDisplayOnOffController, super::super::Foundation::IClosable); +windows_core::imp::interface_hierarchy!(ProximitySensorDisplayOnOffController, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IClosable); impl ProximitySensorDisplayOnOffController { pub fn Close(&self) -> windows_core::Result<()> { let this = self; diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 64d785eda9..bf5fac5377 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -954,9 +954,9 @@ pub struct ISmsWapMessage_Vtbl { #[derive(PartialEq, Eq, Debug, Clone)] pub struct DeleteSmsMessageOperation(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(DeleteSmsMessageOperation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(DeleteSmsMessageOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncAction); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(DeleteSmsMessageOperation, super::super::Foundation::IAsyncAction, super::super::Foundation::IAsyncInfo); +windows_core::imp::required_hierarchy!(DeleteSmsMessageOperation, super::super::Foundation::IAsyncInfo); #[cfg(feature = "deprecated")] impl DeleteSmsMessageOperation { pub fn SetCompleted(&self, handler: P0) -> windows_core::Result<()> @@ -1040,9 +1040,9 @@ impl DeleteSmsMessageOperation { #[derive(PartialEq, Eq, Debug, Clone)] pub struct DeleteSmsMessagesOperation(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(DeleteSmsMessagesOperation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(DeleteSmsMessagesOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncAction); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(DeleteSmsMessagesOperation, super::super::Foundation::IAsyncAction, super::super::Foundation::IAsyncInfo); +windows_core::imp::required_hierarchy!(DeleteSmsMessagesOperation, super::super::Foundation::IAsyncInfo); #[cfg(feature = "deprecated")] impl DeleteSmsMessagesOperation { pub fn SetCompleted(&self, handler: P0) -> windows_core::Result<()> @@ -1126,9 +1126,9 @@ impl DeleteSmsMessagesOperation { #[derive(PartialEq, Eq, Debug, Clone)] pub struct GetSmsDeviceOperation(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(GetSmsDeviceOperation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(GetSmsDeviceOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncOperation::); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(GetSmsDeviceOperation, super::super::Foundation::IAsyncInfo, super::super::Foundation::IAsyncOperation::); +windows_core::imp::required_hierarchy!(GetSmsDeviceOperation, super::super::Foundation::IAsyncInfo); #[cfg(feature = "deprecated")] impl GetSmsDeviceOperation { pub fn Id(&self) -> windows_core::Result { @@ -1215,9 +1215,9 @@ impl GetSmsDeviceOperation { #[derive(PartialEq, Eq, Debug, Clone)] pub struct GetSmsMessageOperation(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(GetSmsMessageOperation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(GetSmsMessageOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncOperation::); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(GetSmsMessageOperation, super::super::Foundation::IAsyncInfo, super::super::Foundation::IAsyncOperation::); +windows_core::imp::required_hierarchy!(GetSmsMessageOperation, super::super::Foundation::IAsyncInfo); #[cfg(feature = "deprecated")] impl GetSmsMessageOperation { pub fn Id(&self) -> windows_core::Result { @@ -1304,9 +1304,9 @@ impl GetSmsMessageOperation { #[derive(PartialEq, Eq, Debug, Clone)] pub struct GetSmsMessagesOperation(windows_core::IUnknown); #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] -windows_core::imp::interface_hierarchy!(GetSmsMessagesOperation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(GetSmsMessagesOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncOperationWithProgress::, i32>); #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] -windows_core::imp::required_hierarchy!(GetSmsMessagesOperation, super::super::Foundation::IAsyncInfo, super::super::Foundation::IAsyncOperationWithProgress::, i32>); +windows_core::imp::required_hierarchy!(GetSmsMessagesOperation, super::super::Foundation::IAsyncInfo); #[cfg(all(feature = "Foundation_Collections", feature = "deprecated"))] impl GetSmsMessagesOperation { pub fn Id(&self) -> windows_core::Result { @@ -1412,9 +1412,9 @@ impl GetSmsMessagesOperation { #[derive(PartialEq, Eq, Debug, Clone)] pub struct SendSmsMessageOperation(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(SendSmsMessageOperation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(SendSmsMessageOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncAction); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(SendSmsMessageOperation, super::super::Foundation::IAsyncAction, super::super::Foundation::IAsyncInfo); +windows_core::imp::required_hierarchy!(SendSmsMessageOperation, super::super::Foundation::IAsyncInfo); #[cfg(feature = "deprecated")] impl SendSmsMessageOperation { pub fn SetCompleted(&self, handler: P0) -> windows_core::Result<()> @@ -1688,9 +1688,9 @@ unsafe impl Sync for SmsAppMessage {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct SmsBinaryMessage(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(SmsBinaryMessage, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(SmsBinaryMessage, windows_core::IUnknown, windows_core::IInspectable, ISmsBinaryMessage); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(SmsBinaryMessage, ISmsBinaryMessage, ISmsMessage); +windows_core::imp::required_hierarchy!(SmsBinaryMessage, ISmsMessage); #[cfg(feature = "deprecated")] impl SmsBinaryMessage { pub fn new() -> windows_core::Result { @@ -1887,9 +1887,7 @@ unsafe impl Sync for SmsBroadcastMessage {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct SmsDevice(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(SmsDevice, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(SmsDevice, ISmsDevice); +windows_core::imp::interface_hierarchy!(SmsDevice, windows_core::IUnknown, windows_core::IInspectable, ISmsDevice); #[cfg(feature = "deprecated")] impl SmsDevice { #[cfg(feature = "deprecated")] @@ -2807,9 +2805,9 @@ unsafe impl Sync for SmsStatusMessage {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct SmsTextMessage(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(SmsTextMessage, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(SmsTextMessage, windows_core::IUnknown, windows_core::IInspectable, ISmsTextMessage); #[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(SmsTextMessage, ISmsMessage, ISmsTextMessage); +windows_core::imp::required_hierarchy!(SmsTextMessage, ISmsMessage); #[cfg(feature = "deprecated")] impl SmsTextMessage { pub fn new() -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index fac80a8068..43f2a24684 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -166,8 +166,7 @@ pub struct ILowLevelDevicesControllerStatics_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LowLevelDevicesAggregateProvider(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LowLevelDevicesAggregateProvider, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LowLevelDevicesAggregateProvider, ILowLevelDevicesAggregateProvider); +windows_core::imp::interface_hierarchy!(LowLevelDevicesAggregateProvider, windows_core::IUnknown, windows_core::IInspectable, ILowLevelDevicesAggregateProvider); impl LowLevelDevicesAggregateProvider { #[cfg(feature = "Devices_Adc_Provider")] pub fn AdcControllerProvider(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index e9773d091e..aa51a4f5b7 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -1110,8 +1110,8 @@ where #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PropertySet(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PropertySet, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PropertySet, IIterable < IKeyValuePair < windows_core::HSTRING , windows_core::IInspectable > >, IMap < windows_core::HSTRING , windows_core::IInspectable >, IObservableMap < windows_core::HSTRING , windows_core::IInspectable >, IPropertySet); +windows_core::imp::interface_hierarchy!(PropertySet, windows_core::IUnknown, windows_core::IInspectable, IPropertySet); +windows_core::imp::required_hierarchy!(PropertySet, IIterable < IKeyValuePair < windows_core::HSTRING , windows_core::IInspectable > >, IMap < windows_core::HSTRING , windows_core::IInspectable >, IObservableMap < windows_core::HSTRING , windows_core::IInspectable >); impl PropertySet { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1217,8 +1217,8 @@ unsafe impl Sync for PropertySet {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct StringMap(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(StringMap, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(StringMap, IIterable < IKeyValuePair < windows_core::HSTRING , windows_core::HSTRING > >, IMap < windows_core::HSTRING , windows_core::HSTRING >, IObservableMap < windows_core::HSTRING , windows_core::HSTRING >); +windows_core::imp::interface_hierarchy ! ( StringMap , windows_core::IUnknown , windows_core::IInspectable , IMap < windows_core::HSTRING , windows_core::HSTRING > ); +windows_core::imp::required_hierarchy!(StringMap, IIterable < IKeyValuePair < windows_core::HSTRING , windows_core::HSTRING > >, IObservableMap < windows_core::HSTRING , windows_core::HSTRING >); impl StringMap { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1321,8 +1321,8 @@ unsafe impl Sync for StringMap {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ValueSet(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ValueSet, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ValueSet, IIterable < IKeyValuePair < windows_core::HSTRING , windows_core::IInspectable > >, IMap < windows_core::HSTRING , windows_core::IInspectable >, IObservableMap < windows_core::HSTRING , windows_core::IInspectable >, IPropertySet); +windows_core::imp::interface_hierarchy!(ValueSet, windows_core::IUnknown, windows_core::IInspectable, IPropertySet); +windows_core::imp::required_hierarchy!(ValueSet, IIterable < IKeyValuePair < windows_core::HSTRING , windows_core::IInspectable > >, IMap < windows_core::HSTRING , windows_core::IInspectable >, IObservableMap < windows_core::HSTRING , windows_core::IInspectable >); impl ValueSet { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index 80827557bc..d0d6d7354f 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -774,8 +774,8 @@ unsafe impl Sync for ErrorDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileLoggingSession(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileLoggingSession, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(FileLoggingSession, super::IClosable, IFileLoggingSession); +windows_core::imp::interface_hierarchy!(FileLoggingSession, windows_core::IUnknown, windows_core::IInspectable, IFileLoggingSession); +windows_core::imp::required_hierarchy!(FileLoggingSession, super::IClosable); impl FileLoggingSession { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1055,8 +1055,8 @@ unsafe impl Sync for LoggingActivity {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LoggingChannel(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LoggingChannel, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LoggingChannel, super::IClosable, ILoggingChannel, ILoggingTarget); +windows_core::imp::interface_hierarchy!(LoggingChannel, windows_core::IUnknown, windows_core::IInspectable, ILoggingChannel); +windows_core::imp::required_hierarchy!(LoggingChannel, super::IClosable, ILoggingTarget); impl LoggingChannel { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1890,8 +1890,8 @@ unsafe impl Sync for LoggingOptions {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct LoggingSession(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(LoggingSession, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(LoggingSession, super::IClosable, ILoggingSession); +windows_core::imp::interface_hierarchy!(LoggingSession, windows_core::IUnknown, windows_core::IInspectable, ILoggingSession); +windows_core::imp::required_hierarchy!(LoggingSession, super::IClosable); impl LoggingSession { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1963,8 +1963,7 @@ unsafe impl Sync for LoggingSession {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct RuntimeBrokerErrorSettings(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(RuntimeBrokerErrorSettings, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(RuntimeBrokerErrorSettings, IErrorReportingSettings); +windows_core::imp::interface_hierarchy!(RuntimeBrokerErrorSettings, windows_core::IUnknown, windows_core::IInspectable, IErrorReportingSettings); impl RuntimeBrokerErrorSettings { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index a414916d61..4a7fb315b5 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -1677,8 +1677,8 @@ impl windows_core::RuntimeName for GuidHelper { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MemoryBuffer(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MemoryBuffer, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MemoryBuffer, IClosable, IMemoryBuffer); +windows_core::imp::interface_hierarchy!(MemoryBuffer, windows_core::IUnknown, windows_core::IInspectable, IMemoryBuffer); +windows_core::imp::required_hierarchy!(MemoryBuffer, IClosable); impl MemoryBuffer { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -2259,8 +2259,7 @@ unsafe impl Sync for WwwFormUrlDecoder {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WwwFormUrlDecoderEntry(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WwwFormUrlDecoderEntry, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WwwFormUrlDecoderEntry, IWwwFormUrlDecoderEntry); +windows_core::imp::interface_hierarchy!(WwwFormUrlDecoderEntry, windows_core::IUnknown, windows_core::IInspectable, IWwwFormUrlDecoderEntry); impl WwwFormUrlDecoderEntry { pub fn Name(&self) -> windows_core::Result { let this = self; 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 2442f31d71..7f78d3ea9b 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -150,8 +150,7 @@ pub struct IRampForceEffect_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ConditionForceEffect(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ConditionForceEffect, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ConditionForceEffect, IForceFeedbackEffect); +windows_core::imp::interface_hierarchy!(ConditionForceEffect, windows_core::IUnknown, windows_core::IInspectable, IForceFeedbackEffect); impl ConditionForceEffect { pub fn Kind(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -218,8 +217,7 @@ unsafe impl Sync for ConditionForceEffect {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ConstantForceEffect(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ConstantForceEffect, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ConstantForceEffect, IForceFeedbackEffect); +windows_core::imp::interface_hierarchy!(ConstantForceEffect, windows_core::IUnknown, windows_core::IInspectable, IForceFeedbackEffect); impl ConstantForceEffect { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -383,8 +381,7 @@ unsafe impl Sync for ForceFeedbackMotor {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PeriodicForceEffect(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PeriodicForceEffect, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PeriodicForceEffect, IForceFeedbackEffect); +windows_core::imp::interface_hierarchy!(PeriodicForceEffect, windows_core::IUnknown, windows_core::IInspectable, IForceFeedbackEffect); impl PeriodicForceEffect { pub fn Gain(&self) -> windows_core::Result { let this = self; @@ -456,8 +453,7 @@ unsafe impl Sync for PeriodicForceEffect {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct RampForceEffect(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(RampForceEffect, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(RampForceEffect, IForceFeedbackEffect); +windows_core::imp::interface_hierarchy!(RampForceEffect, windows_core::IUnknown, windows_core::IInspectable, IForceFeedbackEffect); impl RampForceEffect { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs index 0d50410bb6..13c1cdc470 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -263,8 +263,7 @@ impl windows_core::RuntimeName for GameList { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct GameListEntry(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(GameListEntry, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(GameListEntry, IGameListEntry); +windows_core::imp::interface_hierarchy!(GameListEntry, windows_core::IUnknown, windows_core::IInspectable, IGameListEntry); impl GameListEntry { #[cfg(feature = "ApplicationModel")] pub fn DisplayInfo(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 24e061d648..2e2a4f3b6e 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -775,8 +775,8 @@ unsafe impl Sync for CurrencyFormatter {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DecimalFormatter(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DecimalFormatter, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DecimalFormatter, INumberFormatter, INumberFormatter2, INumberFormatterOptions, INumberParser, INumberRounderOption, ISignedZeroOption, ISignificantDigitsOption); +windows_core::imp::interface_hierarchy!(DecimalFormatter, windows_core::IUnknown, windows_core::IInspectable, INumberFormatter); +windows_core::imp::required_hierarchy!(DecimalFormatter, INumberFormatter2, INumberFormatterOptions, INumberParser, INumberRounderOption, ISignedZeroOption, ISignificantDigitsOption); impl DecimalFormatter { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -999,8 +999,7 @@ unsafe impl Sync for DecimalFormatter {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct IncrementNumberRounder(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(IncrementNumberRounder, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(IncrementNumberRounder, INumberRounder); +windows_core::imp::interface_hierarchy!(IncrementNumberRounder, windows_core::IUnknown, windows_core::IInspectable, INumberRounder); impl IncrementNumberRounder { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1162,8 +1161,8 @@ unsafe impl Sync for NumeralSystemTranslator {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PercentFormatter(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PercentFormatter, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PercentFormatter, INumberFormatter, INumberFormatter2, INumberFormatterOptions, INumberParser, INumberRounderOption, ISignedZeroOption, ISignificantDigitsOption); +windows_core::imp::interface_hierarchy!(PercentFormatter, windows_core::IUnknown, windows_core::IInspectable, INumberFormatter); +windows_core::imp::required_hierarchy!(PercentFormatter, INumberFormatter2, INumberFormatterOptions, INumberParser, INumberRounderOption, ISignedZeroOption, ISignificantDigitsOption); impl PercentFormatter { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1386,8 +1385,8 @@ unsafe impl Sync for PercentFormatter {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PermilleFormatter(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PermilleFormatter, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PermilleFormatter, INumberFormatter, INumberFormatter2, INumberFormatterOptions, INumberParser, INumberRounderOption, ISignedZeroOption, ISignificantDigitsOption); +windows_core::imp::interface_hierarchy!(PermilleFormatter, windows_core::IUnknown, windows_core::IInspectable, INumberFormatter); +windows_core::imp::required_hierarchy!(PermilleFormatter, INumberFormatter2, INumberFormatterOptions, INumberParser, INumberRounderOption, ISignedZeroOption, ISignificantDigitsOption); impl PermilleFormatter { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1610,8 +1609,7 @@ unsafe impl Sync for PermilleFormatter {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SignificantDigitsNumberRounder(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SignificantDigitsNumberRounder, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SignificantDigitsNumberRounder, INumberRounder); +windows_core::imp::interface_hierarchy!(SignificantDigitsNumberRounder, windows_core::IUnknown, windows_core::IInspectable, INumberRounder); impl SignificantDigitsNumberRounder { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index 8333f26dc2..2c86fc58fe 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -1131,8 +1131,8 @@ unsafe impl Sync for BitmapEncoder {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct BitmapFrame(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(BitmapFrame, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(BitmapFrame, IBitmapFrame, IBitmapFrameWithSoftwareBitmap); +windows_core::imp::interface_hierarchy!(BitmapFrame, windows_core::IUnknown, windows_core::IInspectable, IBitmapFrame); +windows_core::imp::required_hierarchy!(BitmapFrame, IBitmapFrameWithSoftwareBitmap); impl BitmapFrame { #[cfg(feature = "Storage_Streams")] pub fn GetThumbnailAsync(&self) -> windows_core::Result> { @@ -1303,8 +1303,7 @@ unsafe impl Sync for BitmapProperties {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct BitmapPropertiesView(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(BitmapPropertiesView, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(BitmapPropertiesView, IBitmapPropertiesView); +windows_core::imp::interface_hierarchy!(BitmapPropertiesView, windows_core::IUnknown, windows_core::IInspectable, IBitmapPropertiesView); impl BitmapPropertiesView { #[cfg(feature = "Foundation_Collections")] pub fn GetPropertiesAsync(&self, propertiestoretrieve: P0) -> windows_core::Result> @@ -1335,9 +1334,9 @@ unsafe impl Sync for BitmapPropertiesView {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct BitmapPropertySet(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(BitmapPropertySet, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(BitmapPropertySet, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IMap::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(BitmapPropertySet, super::super::Foundation::Collections::IIterable::>, super::super::Foundation::Collections::IMap::); +windows_core::imp::required_hierarchy!(BitmapPropertySet, super::super::Foundation::Collections::IIterable::>); #[cfg(feature = "Foundation_Collections")] impl BitmapPropertySet { pub fn new() -> windows_core::Result { @@ -1584,9 +1583,9 @@ unsafe impl Sync for BitmapTypedValue {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ImageStream(windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] -windows_core::imp::interface_hierarchy!(ImageStream, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ImageStream, windows_core::IUnknown, windows_core::IInspectable, super::super::Storage::Streams::IRandomAccessStreamWithContentType); #[cfg(feature = "Storage_Streams")] -windows_core::imp::required_hierarchy!(ImageStream, super::super::Foundation::IClosable, super::super::Storage::Streams::IContentTypeProvider, super::super::Storage::Streams::IInputStream, super::super::Storage::Streams::IOutputStream, super::super::Storage::Streams::IRandomAccessStream, super::super::Storage::Streams::IRandomAccessStreamWithContentType); +windows_core::imp::required_hierarchy!(ImageStream, super::super::Foundation::IClosable, super::super::Storage::Streams::IContentTypeProvider, super::super::Storage::Streams::IInputStream, super::super::Storage::Streams::IOutputStream, super::super::Storage::Streams::IRandomAccessStream); #[cfg(feature = "Storage_Streams")] impl ImageStream { pub fn Close(&self) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs index fc3fcf3ff2..763caa5033 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -691,8 +691,8 @@ pub struct IPrintTextOptionDetails_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintBindingOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintBindingOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintBindingOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintBindingOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintBindingOptionDetails, IPrintItemListOptionDetails); impl PrintBindingOptionDetails { pub fn SetWarningText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -793,8 +793,8 @@ unsafe impl Sync for PrintBindingOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintBorderingOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintBorderingOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintBorderingOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintBorderingOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintBorderingOptionDetails, IPrintItemListOptionDetails); impl PrintBorderingOptionDetails { pub fn SetWarningText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -895,8 +895,8 @@ unsafe impl Sync for PrintBorderingOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintCollationOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintCollationOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintCollationOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintCollationOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintCollationOptionDetails, IPrintItemListOptionDetails); impl PrintCollationOptionDetails { pub fn SetWarningText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -997,8 +997,8 @@ unsafe impl Sync for PrintCollationOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintColorModeOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintColorModeOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintColorModeOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintColorModeOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintColorModeOptionDetails, IPrintItemListOptionDetails); impl PrintColorModeOptionDetails { pub fn SetWarningText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1099,8 +1099,8 @@ unsafe impl Sync for PrintColorModeOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintCopiesOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintCopiesOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintCopiesOptionDetails, IPrintNumberOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintCopiesOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintCopiesOptionDetails, IPrintNumberOptionDetails); impl PrintCopiesOptionDetails { pub fn SetWarningText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1243,8 +1243,8 @@ unsafe impl Sync for PrintCustomItemDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintCustomItemListOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintCustomItemListOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintCustomItemListOptionDetails, IPrintCustomOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintCustomItemListOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintCustomItemListOptionDetails, IPrintCustomOptionDetails, IPrintItemListOptionDetails); impl PrintCustomItemListOptionDetails { pub fn AddItem(&self, itemid: &windows_core::HSTRING, displayname: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1368,8 +1368,8 @@ unsafe impl Sync for PrintCustomItemListOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintCustomTextOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintCustomTextOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintCustomTextOptionDetails, IPrintCustomOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintCustomTextOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintCustomTextOptionDetails, IPrintCustomOptionDetails); impl PrintCustomTextOptionDetails { pub fn SetDisplayName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1484,8 +1484,8 @@ unsafe impl Sync for PrintCustomTextOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintCustomToggleOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintCustomToggleOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintCustomToggleOptionDetails, IPrintCustomOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintCustomToggleOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintCustomToggleOptionDetails, IPrintCustomOptionDetails); impl PrintCustomToggleOptionDetails { pub fn SetDisplayName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1589,8 +1589,8 @@ unsafe impl Sync for PrintCustomToggleOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintDuplexOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintDuplexOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintDuplexOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintDuplexOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintDuplexOptionDetails, IPrintItemListOptionDetails); impl PrintDuplexOptionDetails { pub fn SetWarningText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1691,8 +1691,8 @@ unsafe impl Sync for PrintDuplexOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintHolePunchOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintHolePunchOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintHolePunchOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintHolePunchOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintHolePunchOptionDetails, IPrintItemListOptionDetails); impl PrintHolePunchOptionDetails { pub fn SetWarningText(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1793,8 +1793,8 @@ unsafe impl Sync for PrintHolePunchOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintMediaSizeOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintMediaSizeOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintMediaSizeOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintMediaSizeOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintMediaSizeOptionDetails, IPrintItemListOptionDetails); impl PrintMediaSizeOptionDetails { #[cfg(feature = "Foundation_Collections")] pub fn Items(&self) -> windows_core::Result> { @@ -1895,8 +1895,8 @@ unsafe impl Sync for PrintMediaSizeOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintMediaTypeOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintMediaTypeOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintMediaTypeOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintMediaTypeOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintMediaTypeOptionDetails, IPrintItemListOptionDetails); impl PrintMediaTypeOptionDetails { #[cfg(feature = "Foundation_Collections")] pub fn Items(&self) -> windows_core::Result> { @@ -1997,8 +1997,8 @@ unsafe impl Sync for PrintMediaTypeOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintOrientationOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintOrientationOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintOrientationOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintOrientationOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintOrientationOptionDetails, IPrintItemListOptionDetails); impl PrintOrientationOptionDetails { #[cfg(feature = "Foundation_Collections")] pub fn Items(&self) -> windows_core::Result> { @@ -2099,8 +2099,7 @@ unsafe impl Sync for PrintOrientationOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintPageRangeOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintPageRangeOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintPageRangeOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintPageRangeOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); impl PrintPageRangeOptionDetails { pub fn OptionId(&self) -> windows_core::Result { let this = self; @@ -2193,8 +2192,8 @@ unsafe impl Sync for PrintPageRangeOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintQualityOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintQualityOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintQualityOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintQualityOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintQualityOptionDetails, IPrintItemListOptionDetails); impl PrintQualityOptionDetails { #[cfg(feature = "Foundation_Collections")] pub fn Items(&self) -> windows_core::Result> { @@ -2295,8 +2294,8 @@ unsafe impl Sync for PrintQualityOptionDetails {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintStapleOptionDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintStapleOptionDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintStapleOptionDetails, IPrintItemListOptionDetails, IPrintOptionDetails); +windows_core::imp::interface_hierarchy!(PrintStapleOptionDetails, windows_core::IUnknown, windows_core::IInspectable, IPrintOptionDetails); +windows_core::imp::required_hierarchy!(PrintStapleOptionDetails, IPrintItemListOptionDetails); impl PrintStapleOptionDetails { #[cfg(feature = "Foundation_Collections")] pub fn Items(&self) -> windows_core::Result> { diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index 7221a025dc..7925d9b113 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -907,8 +907,8 @@ unsafe impl Sync for PrintTaskCompletedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PrintTaskOptions(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PrintTaskOptions, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PrintTaskOptions, IPrintTaskOptionsCore, IPrintTaskOptionsCoreProperties, IPrintTaskOptionsCoreUIConfiguration); +windows_core::imp::interface_hierarchy!(PrintTaskOptions, windows_core::IUnknown, windows_core::IInspectable, IPrintTaskOptionsCore); +windows_core::imp::required_hierarchy!(PrintTaskOptions, IPrintTaskOptionsCoreProperties, IPrintTaskOptionsCoreUIConfiguration); impl PrintTaskOptions { pub fn SetBordering(&self, value: PrintBordering) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index 19bc5e1d44..587e247428 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -2685,8 +2685,7 @@ unsafe impl Sync for AudioGraph {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AudioGraphBatchUpdater(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AudioGraphBatchUpdater, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AudioGraphBatchUpdater, super::super::Foundation::IClosable); +windows_core::imp::interface_hierarchy!(AudioGraphBatchUpdater, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IClosable); impl AudioGraphBatchUpdater { pub fn Close(&self) -> windows_core::Result<()> { let this = self; @@ -3513,8 +3512,8 @@ unsafe impl Sync for AudioStateMonitor {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AudioSubmixNode(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AudioSubmixNode, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AudioSubmixNode, IAudioInputNode, IAudioInputNode2, IAudioNode, super::super::Foundation::IClosable); +windows_core::imp::interface_hierarchy!(AudioSubmixNode, windows_core::IUnknown, windows_core::IInspectable, IAudioInputNode); +windows_core::imp::required_hierarchy!(AudioSubmixNode, IAudioInputNode2, IAudioNode, super::super::Foundation::IClosable); impl AudioSubmixNode { #[cfg(feature = "Foundation_Collections")] pub fn OutgoingConnections(&self) -> windows_core::Result> { diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index f0d26eb2c7..6c6b9a93d9 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -1919,8 +1919,7 @@ unsafe impl Sync for AudioStreamDescriptor {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AudioTrack(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AudioTrack, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AudioTrack, IMediaTrack); +windows_core::imp::interface_hierarchy!(AudioTrack, windows_core::IUnknown, windows_core::IInspectable, IMediaTrack); impl AudioTrack { pub fn OpenFailed(&self, handler: P0) -> windows_core::Result where @@ -2732,9 +2731,7 @@ unsafe impl Sync for FaceDetectionEffect {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct FaceDetectionEffectDefinition(windows_core::IUnknown); #[cfg(feature = "Media_Effects")] -windows_core::imp::interface_hierarchy!(FaceDetectionEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Media_Effects")] -windows_core::imp::required_hierarchy!(FaceDetectionEffectDefinition, super::Effects::IVideoEffectDefinition); +windows_core::imp::interface_hierarchy!(FaceDetectionEffectDefinition, windows_core::IUnknown, windows_core::IInspectable, super::Effects::IVideoEffectDefinition); #[cfg(feature = "Media_Effects")] impl FaceDetectionEffectDefinition { pub fn new() -> windows_core::Result { @@ -3905,9 +3902,9 @@ unsafe impl Sync for MediaStreamSample {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct MediaStreamSamplePropertySet(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(MediaStreamSamplePropertySet, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(MediaStreamSamplePropertySet, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IMap::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(MediaStreamSamplePropertySet, super::super::Foundation::Collections::IIterable::>, super::super::Foundation::Collections::IMap::); +windows_core::imp::required_hierarchy!(MediaStreamSamplePropertySet, super::super::Foundation::Collections::IIterable::>); #[cfg(feature = "Foundation_Collections")] impl MediaStreamSamplePropertySet { #[cfg(feature = "Foundation_Collections")] @@ -5092,9 +5089,7 @@ unsafe impl Sync for SceneAnalysisEffect {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct SceneAnalysisEffectDefinition(windows_core::IUnknown); #[cfg(feature = "Media_Effects")] -windows_core::imp::interface_hierarchy!(SceneAnalysisEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Media_Effects")] -windows_core::imp::required_hierarchy!(SceneAnalysisEffectDefinition, super::Effects::IVideoEffectDefinition); +windows_core::imp::interface_hierarchy!(SceneAnalysisEffectDefinition, windows_core::IUnknown, windows_core::IInspectable, super::Effects::IVideoEffectDefinition); #[cfg(feature = "Media_Effects")] impl SceneAnalysisEffectDefinition { pub fn new() -> windows_core::Result { @@ -5384,8 +5379,8 @@ unsafe impl Sync for SpeechCue {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct TimedMetadataStreamDescriptor(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(TimedMetadataStreamDescriptor, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(TimedMetadataStreamDescriptor, IMediaStreamDescriptor, IMediaStreamDescriptor2); +windows_core::imp::interface_hierarchy!(TimedMetadataStreamDescriptor, windows_core::IUnknown, windows_core::IInspectable, IMediaStreamDescriptor); +windows_core::imp::required_hierarchy!(TimedMetadataStreamDescriptor, IMediaStreamDescriptor2); impl TimedMetadataStreamDescriptor { pub fn IsSelected(&self) -> windows_core::Result { let this = self; @@ -6631,9 +6626,7 @@ unsafe impl Sync for VideoStabilizationEffect {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct VideoStabilizationEffectDefinition(windows_core::IUnknown); #[cfg(feature = "Media_Effects")] -windows_core::imp::interface_hierarchy!(VideoStabilizationEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Media_Effects")] -windows_core::imp::required_hierarchy!(VideoStabilizationEffectDefinition, super::Effects::IVideoEffectDefinition); +windows_core::imp::interface_hierarchy!(VideoStabilizationEffectDefinition, windows_core::IUnknown, windows_core::IInspectable, super::Effects::IVideoEffectDefinition); #[cfg(feature = "Media_Effects")] impl VideoStabilizationEffectDefinition { pub fn new() -> windows_core::Result { @@ -6794,8 +6787,7 @@ unsafe impl Sync for VideoStreamDescriptor {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct VideoTrack(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(VideoTrack, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(VideoTrack, IMediaTrack); +windows_core::imp::interface_hierarchy!(VideoTrack, windows_core::IUnknown, windows_core::IInspectable, IMediaTrack); impl VideoTrack { pub fn Id(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index bf43358473..e9dad594bf 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -1601,8 +1601,7 @@ unsafe impl Sync for CameraOcclusionStateChangedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DefaultAudioCaptureDeviceChangedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DefaultAudioCaptureDeviceChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DefaultAudioCaptureDeviceChangedEventArgs, IDefaultAudioDeviceChangedEventArgs); +windows_core::imp::interface_hierarchy!(DefaultAudioCaptureDeviceChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IDefaultAudioDeviceChangedEventArgs); impl DefaultAudioCaptureDeviceChangedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; @@ -1634,8 +1633,7 @@ unsafe impl Sync for DefaultAudioCaptureDeviceChangedEventArgs {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DefaultAudioRenderDeviceChangedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DefaultAudioRenderDeviceChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DefaultAudioRenderDeviceChangedEventArgs, IDefaultAudioDeviceChangedEventArgs); +windows_core::imp::interface_hierarchy!(DefaultAudioRenderDeviceChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IDefaultAudioDeviceChangedEventArgs); impl DefaultAudioRenderDeviceChangedEventArgs { pub fn Id(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index 079c2ced4a..d18aa8175c 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -739,8 +739,7 @@ unsafe impl Sync for AudioEffect {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct AudioEffectDefinition(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(AudioEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(AudioEffectDefinition, IAudioEffectDefinition); +windows_core::imp::interface_hierarchy!(AudioEffectDefinition, windows_core::IUnknown, windows_core::IInspectable, IAudioEffectDefinition); impl AudioEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; @@ -1061,8 +1060,7 @@ unsafe impl Sync for SlowMotionEffectDefinition {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct VideoCompositorDefinition(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(VideoCompositorDefinition, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(VideoCompositorDefinition, IVideoCompositorDefinition); +windows_core::imp::interface_hierarchy!(VideoCompositorDefinition, windows_core::IUnknown, windows_core::IInspectable, IVideoCompositorDefinition); impl VideoCompositorDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; @@ -1116,8 +1114,7 @@ unsafe impl Sync for VideoCompositorDefinition {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct VideoEffectDefinition(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(VideoEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(VideoEffectDefinition, IVideoEffectDefinition); +windows_core::imp::interface_hierarchy!(VideoEffectDefinition, windows_core::IUnknown, windows_core::IInspectable, IVideoEffectDefinition); impl VideoEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { let this = self; @@ -1171,8 +1168,7 @@ unsafe impl Sync for VideoEffectDefinition {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct VideoTransformEffectDefinition(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(VideoTransformEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(VideoTransformEffectDefinition, IVideoEffectDefinition); +windows_core::imp::interface_hierarchy!(VideoTransformEffectDefinition, windows_core::IUnknown, windows_core::IInspectable, IVideoEffectDefinition); impl VideoTransformEffectDefinition { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index 8734dd638d..9bbb5365a5 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -1859,9 +1859,9 @@ impl windows_core::RuntimeName for MediaEncodingSubtypes { #[derive(PartialEq, Eq, Debug, Clone)] pub struct MediaPropertySet(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(MediaPropertySet, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(MediaPropertySet, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IMap::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(MediaPropertySet, super::super::Foundation::Collections::IIterable::>, super::super::Foundation::Collections::IMap::); +windows_core::imp::required_hierarchy!(MediaPropertySet, super::super::Foundation::Collections::IIterable::>); #[cfg(feature = "Foundation_Collections")] impl MediaPropertySet { pub fn new() -> windows_core::Result { @@ -2050,8 +2050,7 @@ impl windows_core::RuntimeName for Mpeg2ProfileIds { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct TimedMetadataEncodingProperties(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(TimedMetadataEncodingProperties, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(TimedMetadataEncodingProperties, IMediaEncodingProperties); +windows_core::imp::interface_hierarchy!(TimedMetadataEncodingProperties, windows_core::IUnknown, windows_core::IInspectable, IMediaEncodingProperties); impl TimedMetadataEncodingProperties { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index debc569ddb..8b144162bf 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -1751,9 +1751,9 @@ unsafe impl Sync for MediaItemDisplayProperties {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct MediaPlaybackAudioTrackList(windows_core::IUnknown); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -windows_core::imp::interface_hierarchy!(MediaPlaybackAudioTrackList, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(MediaPlaybackAudioTrackList, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVectorView::); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -windows_core::imp::required_hierarchy!(MediaPlaybackAudioTrackList, super::super::Foundation::Collections::IIterable::, super::Core::ISingleSelectMediaTrackList, super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(MediaPlaybackAudioTrackList, super::super::Foundation::Collections::IIterable::, super::Core::ISingleSelectMediaTrackList); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl MediaPlaybackAudioTrackList { #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] @@ -3590,9 +3590,9 @@ unsafe impl Sync for MediaPlaybackSphericalVideoProjection {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct MediaPlaybackTimedMetadataTrackList(windows_core::IUnknown); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -windows_core::imp::interface_hierarchy!(MediaPlaybackTimedMetadataTrackList, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(MediaPlaybackTimedMetadataTrackList, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVectorView::); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -windows_core::imp::required_hierarchy!(MediaPlaybackTimedMetadataTrackList, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(MediaPlaybackTimedMetadataTrackList, super::super::Foundation::Collections::IIterable::); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl MediaPlaybackTimedMetadataTrackList { #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] @@ -3703,9 +3703,9 @@ unsafe impl Sync for MediaPlaybackTimedMetadataTrackList {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct MediaPlaybackVideoTrackList(windows_core::IUnknown); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -windows_core::imp::interface_hierarchy!(MediaPlaybackVideoTrackList, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(MediaPlaybackVideoTrackList, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVectorView::); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] -windows_core::imp::required_hierarchy!(MediaPlaybackVideoTrackList, super::super::Foundation::Collections::IIterable::, super::Core::ISingleSelectMediaTrackList, super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(MediaPlaybackVideoTrackList, super::super::Foundation::Collections::IIterable::, super::Core::ISingleSelectMediaTrackList); #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] impl MediaPlaybackVideoTrackList { #[cfg(all(feature = "Foundation_Collections", feature = "Media_Core"))] 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 04dfed593a..15a8287a9c 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -2177,9 +2177,7 @@ impl windows_core::RuntimeName for NDClient { #[derive(PartialEq, Eq, Debug, Clone)] pub struct NDCustomData(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(NDCustomData, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(NDCustomData, INDCustomData); +windows_core::imp::interface_hierarchy!(NDCustomData, windows_core::IUnknown, windows_core::IInspectable, INDCustomData); #[cfg(feature = "deprecated")] impl NDCustomData { #[cfg(feature = "deprecated")] @@ -2230,9 +2228,7 @@ impl windows_core::RuntimeName for NDCustomData { #[derive(PartialEq, Eq, Debug, Clone)] pub struct NDDownloadEngineNotifier(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(NDDownloadEngineNotifier, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(NDDownloadEngineNotifier, INDDownloadEngineNotifier); +windows_core::imp::interface_hierarchy!(NDDownloadEngineNotifier, windows_core::IUnknown, windows_core::IInspectable, INDDownloadEngineNotifier); #[cfg(feature = "deprecated")] impl NDDownloadEngineNotifier { pub fn new() -> windows_core::Result { @@ -2294,9 +2290,7 @@ impl windows_core::RuntimeName for NDDownloadEngineNotifier { #[derive(PartialEq, Eq, Debug, Clone)] pub struct NDLicenseFetchDescriptor(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(NDLicenseFetchDescriptor, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(NDLicenseFetchDescriptor, INDLicenseFetchDescriptor); +windows_core::imp::interface_hierarchy!(NDLicenseFetchDescriptor, windows_core::IUnknown, windows_core::IInspectable, INDLicenseFetchDescriptor); #[cfg(feature = "deprecated")] impl NDLicenseFetchDescriptor { #[cfg(feature = "deprecated")] @@ -2366,9 +2360,7 @@ impl windows_core::RuntimeName for NDLicenseFetchDescriptor { #[derive(PartialEq, Eq, Debug, Clone)] pub struct NDStorageFileHelper(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(NDStorageFileHelper, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(NDStorageFileHelper, INDStorageFileHelper); +windows_core::imp::interface_hierarchy!(NDStorageFileHelper, windows_core::IUnknown, windows_core::IInspectable, INDStorageFileHelper); #[cfg(feature = "deprecated")] impl NDStorageFileHelper { pub fn new() -> windows_core::Result { @@ -2408,9 +2400,7 @@ impl windows_core::RuntimeName for NDStorageFileHelper { #[derive(PartialEq, Eq, Debug, Clone)] pub struct NDStreamParserNotifier(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(NDStreamParserNotifier, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(NDStreamParserNotifier, INDStreamParserNotifier); +windows_core::imp::interface_hierarchy!(NDStreamParserNotifier, windows_core::IUnknown, windows_core::IInspectable, INDStreamParserNotifier); #[cfg(feature = "deprecated")] impl NDStreamParserNotifier { pub fn new() -> windows_core::Result { @@ -2472,9 +2462,7 @@ impl windows_core::RuntimeName for NDStreamParserNotifier { #[derive(PartialEq, Eq, Debug, Clone)] pub struct NDTCPMessenger(windows_core::IUnknown); #[cfg(feature = "deprecated")] -windows_core::imp::interface_hierarchy!(NDTCPMessenger, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "deprecated")] -windows_core::imp::required_hierarchy!(NDTCPMessenger, INDMessenger); +windows_core::imp::interface_hierarchy!(NDTCPMessenger, windows_core::IUnknown, windows_core::IInspectable, INDMessenger); #[cfg(feature = "deprecated")] impl NDTCPMessenger { #[cfg(feature = "deprecated")] @@ -2705,8 +2693,7 @@ impl windows_core::RuntimeName for PlayReadyContentResolver { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyDomain(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PlayReadyDomain, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PlayReadyDomain, IPlayReadyDomain); +windows_core::imp::interface_hierarchy!(PlayReadyDomain, windows_core::IUnknown, windows_core::IInspectable, IPlayReadyDomain); impl PlayReadyDomain { pub fn AccountId(&self) -> windows_core::Result { let this = self; @@ -2759,9 +2746,7 @@ impl windows_core::RuntimeName for PlayReadyDomain { #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyDomainIterable(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PlayReadyDomainIterable, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PlayReadyDomainIterable, super::super::super::Foundation::Collections::IIterable::); +windows_core::imp::interface_hierarchy!(PlayReadyDomainIterable, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl PlayReadyDomainIterable { #[cfg(feature = "Foundation_Collections")] @@ -2819,9 +2804,7 @@ impl IntoIterator for &PlayReadyDomainIterable { #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyDomainIterator(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PlayReadyDomainIterator, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PlayReadyDomainIterator, super::super::super::Foundation::Collections::IIterator::); +windows_core::imp::interface_hierarchy!(PlayReadyDomainIterator, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterator::); #[cfg(feature = "Foundation_Collections")] impl PlayReadyDomainIterator { #[cfg(feature = "Foundation_Collections")] @@ -3256,8 +3239,7 @@ impl windows_core::RuntimeName for PlayReadyIndividualizationServiceRequest { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyLicense(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PlayReadyLicense, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PlayReadyLicense, IPlayReadyLicense); +windows_core::imp::interface_hierarchy!(PlayReadyLicense, windows_core::IUnknown, windows_core::IInspectable, IPlayReadyLicense); impl PlayReadyLicense { pub fn FullyEvaluated(&self) -> windows_core::Result { let this = self; @@ -3350,8 +3332,8 @@ impl windows_core::RuntimeName for PlayReadyLicense { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyLicenseAcquisitionServiceRequest(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PlayReadyLicenseAcquisitionServiceRequest, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PlayReadyLicenseAcquisitionServiceRequest, super::IMediaProtectionServiceRequest, IPlayReadyLicenseAcquisitionServiceRequest, IPlayReadyServiceRequest); +windows_core::imp::interface_hierarchy!(PlayReadyLicenseAcquisitionServiceRequest, windows_core::IUnknown, windows_core::IInspectable, IPlayReadyLicenseAcquisitionServiceRequest); +windows_core::imp::required_hierarchy!(PlayReadyLicenseAcquisitionServiceRequest, super::IMediaProtectionServiceRequest, IPlayReadyServiceRequest); impl PlayReadyLicenseAcquisitionServiceRequest { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -3493,9 +3475,7 @@ impl windows_core::RuntimeName for PlayReadyLicenseAcquisitionServiceRequest { #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyLicenseIterable(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PlayReadyLicenseIterable, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PlayReadyLicenseIterable, super::super::super::Foundation::Collections::IIterable::); +windows_core::imp::interface_hierarchy!(PlayReadyLicenseIterable, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl PlayReadyLicenseIterable { pub fn new() -> windows_core::Result { @@ -3563,9 +3543,7 @@ impl IntoIterator for &PlayReadyLicenseIterable { #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyLicenseIterator(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PlayReadyLicenseIterator, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PlayReadyLicenseIterator, super::super::super::Foundation::Collections::IIterator::); +windows_core::imp::interface_hierarchy!(PlayReadyLicenseIterator, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterator::); #[cfg(feature = "Foundation_Collections")] impl PlayReadyLicenseIterator { #[cfg(feature = "Foundation_Collections")] @@ -3637,8 +3615,8 @@ impl windows_core::RuntimeName for PlayReadyLicenseManagement { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadyLicenseSession(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PlayReadyLicenseSession, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PlayReadyLicenseSession, IPlayReadyLicenseSession, IPlayReadyLicenseSession2); +windows_core::imp::interface_hierarchy!(PlayReadyLicenseSession, windows_core::IUnknown, windows_core::IInspectable, IPlayReadyLicenseSession); +windows_core::imp::required_hierarchy!(PlayReadyLicenseSession, IPlayReadyLicenseSession2); impl PlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> windows_core::Result { let this = self; @@ -3903,9 +3881,7 @@ impl windows_core::RuntimeName for PlayReadyRevocationServiceRequest { #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadySecureStopIterable(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PlayReadySecureStopIterable, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PlayReadySecureStopIterable, super::super::super::Foundation::Collections::IIterable::); +windows_core::imp::interface_hierarchy!(PlayReadySecureStopIterable, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl PlayReadySecureStopIterable { #[cfg(feature = "Foundation_Collections")] @@ -3963,9 +3939,7 @@ impl IntoIterator for &PlayReadySecureStopIterable { #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadySecureStopIterator(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PlayReadySecureStopIterator, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PlayReadySecureStopIterator, super::super::super::Foundation::Collections::IIterator::); +windows_core::imp::interface_hierarchy!(PlayReadySecureStopIterator, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IIterator::); #[cfg(feature = "Foundation_Collections")] impl PlayReadySecureStopIterator { #[cfg(feature = "Foundation_Collections")] @@ -4017,8 +3991,8 @@ impl windows_core::RuntimeName for PlayReadySecureStopIterator { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PlayReadySecureStopServiceRequest(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PlayReadySecureStopServiceRequest, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PlayReadySecureStopServiceRequest, super::IMediaProtectionServiceRequest, IPlayReadySecureStopServiceRequest, IPlayReadyServiceRequest); +windows_core::imp::interface_hierarchy!(PlayReadySecureStopServiceRequest, windows_core::IUnknown, windows_core::IInspectable, IPlayReadySecureStopServiceRequest); +windows_core::imp::required_hierarchy!(PlayReadySecureStopServiceRequest, super::IMediaProtectionServiceRequest, IPlayReadyServiceRequest); impl PlayReadySecureStopServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; 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 d449ce8068..1cec6cf7cc 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -284,9 +284,9 @@ unsafe impl Sync for DnssdServiceInstance {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct DnssdServiceInstanceCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(DnssdServiceInstanceCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(DnssdServiceInstanceCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(DnssdServiceInstanceCollection, super::super::super::Foundation::Collections::IIterable::, super::super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(DnssdServiceInstanceCollection, super::super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl DnssdServiceInstanceCollection { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 5b9f9bb6b1..2074c3a00c 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -1969,8 +1969,8 @@ unsafe impl Sync for MessageWebSocketControl {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct MessageWebSocketInformation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(MessageWebSocketInformation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(MessageWebSocketInformation, IWebSocketInformation, IWebSocketInformation2); +windows_core::imp::interface_hierarchy!(MessageWebSocketInformation, windows_core::IUnknown, windows_core::IInspectable, IWebSocketInformation); +windows_core::imp::required_hierarchy!(MessageWebSocketInformation, IWebSocketInformation2); impl MessageWebSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { let this = self; @@ -3395,8 +3395,8 @@ unsafe impl Sync for StreamWebSocketControl {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct StreamWebSocketInformation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(StreamWebSocketInformation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(StreamWebSocketInformation, IWebSocketInformation, IWebSocketInformation2); +windows_core::imp::interface_hierarchy!(StreamWebSocketInformation, windows_core::IUnknown, windows_core::IInspectable, IWebSocketInformation); +windows_core::imp::required_hierarchy!(StreamWebSocketInformation, IWebSocketInformation2); impl StreamWebSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { let this = self; @@ -3518,9 +3518,7 @@ impl windows_core::RuntimeName for WebSocketError { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebSocketKeepAlive(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Background")] -windows_core::imp::interface_hierarchy!(WebSocketKeepAlive, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "ApplicationModel_Background")] -windows_core::imp::required_hierarchy!(WebSocketKeepAlive, super::super::ApplicationModel::Background::IBackgroundTask); +windows_core::imp::interface_hierarchy!(WebSocketKeepAlive, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Background::IBackgroundTask); #[cfg(feature = "ApplicationModel_Background")] impl WebSocketKeepAlive { pub fn new() -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index ee30a96233..0e17b00672 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -1724,8 +1724,7 @@ unsafe impl Sync for VpnChannelConfiguration {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct VpnCredential(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(VpnCredential, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(VpnCredential, IVpnCredential); +windows_core::imp::interface_hierarchy!(VpnCredential, windows_core::IUnknown, windows_core::IInspectable, IVpnCredential); impl VpnCredential { #[cfg(feature = "Security_Credentials")] pub fn PasskeyCredential(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index a2c21fcdde..463a22da25 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -507,8 +507,7 @@ unsafe impl Sync for ContactChangeRecord {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct ContactInformation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(ContactInformation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(ContactInformation, IContactInformation); +windows_core::imp::interface_hierarchy!(ContactInformation, windows_core::IUnknown, windows_core::IInspectable, IContactInformation); impl ContactInformation { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) 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 e82467d540..c7a8c19428 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -429,8 +429,8 @@ unsafe impl Sync for OnlineIdSystemTicketResult {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SignOutUserOperation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SignOutUserOperation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SignOutUserOperation, super::super::super::Foundation::IAsyncAction, super::super::super::Foundation::IAsyncInfo); +windows_core::imp::interface_hierarchy!(SignOutUserOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::IAsyncAction); +windows_core::imp::required_hierarchy!(SignOutUserOperation, super::super::super::Foundation::IAsyncInfo); impl SignOutUserOperation { pub fn SetCompleted(&self, handler: P0) -> windows_core::Result<()> where @@ -509,8 +509,8 @@ unsafe impl Sync for SignOutUserOperation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct UserAuthenticationOperation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(UserAuthenticationOperation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(UserAuthenticationOperation, super::super::super::Foundation::IAsyncInfo, super::super::super::Foundation::IAsyncOperation::); +windows_core::imp::interface_hierarchy!(UserAuthenticationOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::IAsyncOperation::); +windows_core::imp::required_hierarchy!(UserAuthenticationOperation, super::super::super::Foundation::IAsyncInfo); impl UserAuthenticationOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs index 9af4c6d52c..0871590a6c 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs @@ -965,8 +965,8 @@ unsafe impl Sync for WebAccountProviderDeleteAccountOperation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebAccountProviderGetTokenSilentOperation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebAccountProviderGetTokenSilentOperation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebAccountProviderGetTokenSilentOperation, IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation, IWebAccountProviderSilentReportOperation, IWebAccountProviderTokenOperation); +windows_core::imp::interface_hierarchy!(WebAccountProviderGetTokenSilentOperation, windows_core::IUnknown, windows_core::IInspectable, IWebAccountProviderTokenOperation); +windows_core::imp::required_hierarchy!(WebAccountProviderGetTokenSilentOperation, IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation, IWebAccountProviderSilentReportOperation); impl WebAccountProviderGetTokenSilentOperation { pub fn ReportCompleted(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1079,8 +1079,8 @@ unsafe impl Sync for WebAccountProviderManageAccountOperation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebAccountProviderRequestTokenOperation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebAccountProviderRequestTokenOperation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebAccountProviderRequestTokenOperation, IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation, IWebAccountProviderTokenOperation, IWebAccountProviderUIReportOperation); +windows_core::imp::interface_hierarchy!(WebAccountProviderRequestTokenOperation, windows_core::IUnknown, windows_core::IInspectable, IWebAccountProviderTokenOperation); +windows_core::imp::required_hierarchy!(WebAccountProviderRequestTokenOperation, IWebAccountProviderBaseReportOperation, IWebAccountProviderOperation, IWebAccountProviderUIReportOperation); impl WebAccountProviderRequestTokenOperation { pub fn ReportCompleted(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1281,8 +1281,8 @@ unsafe impl Sync for WebAccountProviderSignOutAccountOperation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebAccountProviderTriggerDetails(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebAccountProviderTriggerDetails, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebAccountProviderTriggerDetails, IWebAccountProviderTokenObjects, IWebAccountProviderTokenObjects2); +windows_core::imp::interface_hierarchy!(WebAccountProviderTriggerDetails, windows_core::IUnknown, windows_core::IInspectable, IWebAccountProviderTokenObjects); +windows_core::imp::required_hierarchy!(WebAccountProviderTriggerDetails, IWebAccountProviderTokenObjects2); impl WebAccountProviderTriggerDetails { pub fn Operation(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index a9c3e4c715..9724aef734 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -541,9 +541,9 @@ unsafe impl Sync for PasswordCredential {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct PasswordCredentialPropertyStore(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(PasswordCredentialPropertyStore, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(PasswordCredentialPropertyStore, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IPropertySet); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(PasswordCredentialPropertyStore, super::super::Foundation::Collections::IIterable::>, super::super::Foundation::Collections::IMap::, super::super::Foundation::Collections::IObservableMap::, super::super::Foundation::Collections::IPropertySet); +windows_core::imp::required_hierarchy!(PasswordCredentialPropertyStore, super::super::Foundation::Collections::IIterable::>, super::super::Foundation::Collections::IMap::, super::super::Foundation::Collections::IObservableMap::); #[cfg(feature = "Foundation_Collections")] impl PasswordCredentialPropertyStore { pub fn new() -> windows_core::Result { @@ -737,8 +737,7 @@ unsafe impl Sync for PasswordVault {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebAccount(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebAccount, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebAccount, IWebAccount); +windows_core::imp::interface_hierarchy!(WebAccount, windows_core::IUnknown, windows_core::IInspectable, IWebAccount); impl WebAccount { pub fn WebAccountProvider(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index e41837a0bc..0bbb1dc234 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -442,9 +442,7 @@ unsafe impl Sync for TargetedContentContainer {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct TargetedContentFile(windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] -windows_core::imp::interface_hierarchy!(TargetedContentFile, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "Storage_Streams")] -windows_core::imp::required_hierarchy!(TargetedContentFile, super::super::Storage::Streams::IRandomAccessStreamReference); +windows_core::imp::interface_hierarchy!(TargetedContentFile, windows_core::IUnknown, windows_core::IInspectable, super::super::Storage::Streams::IRandomAccessStreamReference); #[cfg(feature = "Storage_Streams")] impl TargetedContentFile { #[cfg(feature = "Storage_Streams")] diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index 5e760faa30..6f5589664b 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -210,9 +210,9 @@ pub struct IStorageItemMostRecentlyUsedList2_Vtbl { #[derive(PartialEq, Eq, Debug, Clone)] pub struct AccessListEntryView(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(AccessListEntryView, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(AccessListEntryView, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(AccessListEntryView, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(AccessListEntryView, super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl AccessListEntryView { #[cfg(feature = "Foundation_Collections")] @@ -362,8 +362,7 @@ impl windows_core::RuntimeName for StorageApplicationPermissions { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct StorageItemAccessList(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(StorageItemAccessList, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(StorageItemAccessList, IStorageItemAccessList); +windows_core::imp::interface_hierarchy!(StorageItemAccessList, windows_core::IUnknown, windows_core::IInspectable, IStorageItemAccessList); impl StorageItemAccessList { pub fn AddOverloadDefaultMetadata(&self, file: P0) -> windows_core::Result where diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index 7068168ca6..b2e7bdca02 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -181,9 +181,9 @@ pub struct IStorageItemInformation_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileInformation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileInformation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FileInformation, windows_core::IUnknown, windows_core::IInspectable, IStorageItemInformation); #[cfg(feature = "Storage_Streams")] -windows_core::imp::required_hierarchy!(FileInformation, super::Streams::IInputStreamReference, super::Streams::IRandomAccessStreamReference, super::IStorageFile, super::IStorageFile2, super::IStorageFilePropertiesWithAvailability, super::IStorageItem, super::IStorageItem2, IStorageItemInformation, super::IStorageItemProperties, super::IStorageItemPropertiesWithProvider); +windows_core::imp::required_hierarchy!(FileInformation, super::Streams::IInputStreamReference, super::Streams::IRandomAccessStreamReference, super::IStorageFile, super::IStorageFile2, super::IStorageFilePropertiesWithAvailability, super::IStorageItem, super::IStorageItem2, super::IStorageItemProperties, super::IStorageItemPropertiesWithProvider); impl FileInformation { #[cfg(feature = "Storage_Streams")] pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { @@ -702,9 +702,9 @@ unsafe impl Sync for FileInformationFactory {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FolderInformation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FolderInformation, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FolderInformation, windows_core::IUnknown, windows_core::IInspectable, IStorageItemInformation); #[cfg(feature = "Storage_Search")] -windows_core::imp::required_hierarchy!(FolderInformation, super::IStorageFolder, super::IStorageFolder2, super::Search::IStorageFolderQueryOperations, super::IStorageItem, super::IStorageItem2, IStorageItemInformation, super::IStorageItemProperties, super::IStorageItemPropertiesWithProvider); +windows_core::imp::required_hierarchy!(FolderInformation, super::IStorageFolder, super::IStorageFolder2, super::Search::IStorageFolderQueryOperations, super::IStorageItem, super::IStorageItem2, super::IStorageItemProperties, super::IStorageItemPropertiesWithProvider); impl FolderInformation { pub fn CreateFileAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index 56f1050bdf..fa700eb9a3 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -872,9 +872,9 @@ impl windows_core::RuntimeName for StorageItemContentProperties { #[derive(PartialEq, Eq, Debug, Clone)] pub struct StorageItemThumbnail(windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] -windows_core::imp::interface_hierarchy!(StorageItemThumbnail, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(StorageItemThumbnail, windows_core::IUnknown, windows_core::IInspectable, super::Streams::IRandomAccessStreamWithContentType); #[cfg(feature = "Storage_Streams")] -windows_core::imp::required_hierarchy!(StorageItemThumbnail, super::super::Foundation::IClosable, super::Streams::IContentTypeProvider, super::Streams::IInputStream, super::Streams::IOutputStream, super::Streams::IRandomAccessStream, super::Streams::IRandomAccessStreamWithContentType); +windows_core::imp::required_hierarchy!(StorageItemThumbnail, super::super::Foundation::IClosable, super::Streams::IContentTypeProvider, super::Streams::IInputStream, super::Streams::IOutputStream, super::Streams::IRandomAccessStream); #[cfg(feature = "Storage_Streams")] impl StorageItemThumbnail { pub fn Close(&self) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index cd2233598d..b3648ff431 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -231,9 +231,9 @@ pub struct IFolderPickerStatics_Vtbl { #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileExtensionVector(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(FileExtensionVector, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FileExtensionVector, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVector::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(FileExtensionVector, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVector::); +windows_core::imp::required_hierarchy!(FileExtensionVector, super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl FileExtensionVector { #[cfg(feature = "Foundation_Collections")] @@ -510,9 +510,9 @@ unsafe impl Sync for FileOpenPicker {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct FilePickerFileTypesOrderedMap(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(FilePickerFileTypesOrderedMap, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FilePickerFileTypesOrderedMap, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IMap::>); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(FilePickerFileTypesOrderedMap, super::super::Foundation::Collections::IIterable::>>, super::super::Foundation::Collections::IMap::>); +windows_core::imp::required_hierarchy!(FilePickerFileTypesOrderedMap, super::super::Foundation::Collections::IIterable::>>); #[cfg(feature = "Foundation_Collections")] impl FilePickerFileTypesOrderedMap { #[cfg(feature = "Foundation_Collections")] @@ -615,9 +615,9 @@ unsafe impl Sync for FilePickerFileTypesOrderedMap {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct FilePickerSelectedFilesArray(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(FilePickerSelectedFilesArray, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(FilePickerSelectedFilesArray, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(FilePickerSelectedFilesArray, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(FilePickerSelectedFilesArray, super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl FilePickerSelectedFilesArray { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index df8817a5ee..5e393b9386 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -786,8 +786,7 @@ unsafe impl Sync for ContentIndexerQuery {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct IndexableContent(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(IndexableContent, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(IndexableContent, IIndexableContent); +windows_core::imp::interface_hierarchy!(IndexableContent, windows_core::IUnknown, windows_core::IInspectable, IIndexableContent); impl IndexableContent { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1023,9 +1022,9 @@ unsafe impl Sync for QueryOptions {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct SortEntryVector(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(SortEntryVector, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(SortEntryVector, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVector::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(SortEntryVector, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVector::); +windows_core::imp::required_hierarchy!(SortEntryVector, super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl SortEntryVector { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index 51059b48e8..c2c0712834 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -955,8 +955,7 @@ pub struct IRandomAccessStreamWithContentType_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct Buffer(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(Buffer, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(Buffer, IBuffer); +windows_core::imp::interface_hierarchy!(Buffer, windows_core::IUnknown, windows_core::IInspectable, IBuffer); impl Buffer { pub fn Capacity(&self) -> windows_core::Result { let this = self; @@ -1026,8 +1025,8 @@ unsafe impl Sync for Buffer {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DataReader(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DataReader, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DataReader, super::super::Foundation::IClosable, IDataReader); +windows_core::imp::interface_hierarchy!(DataReader, windows_core::IUnknown, windows_core::IInspectable, IDataReader); +windows_core::imp::required_hierarchy!(DataReader, super::super::Foundation::IClosable); impl DataReader { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1247,8 +1246,8 @@ unsafe impl Sync for DataReader {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DataReaderLoadOperation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DataReaderLoadOperation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DataReaderLoadOperation, super::super::Foundation::IAsyncInfo, super::super::Foundation::IAsyncOperation::); +windows_core::imp::interface_hierarchy!(DataReaderLoadOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncOperation::); +windows_core::imp::required_hierarchy!(DataReaderLoadOperation, super::super::Foundation::IAsyncInfo); impl DataReaderLoadOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -1330,8 +1329,8 @@ unsafe impl Sync for DataReaderLoadOperation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DataWriter(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DataWriter, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DataWriter, super::super::Foundation::IClosable, IDataWriter); +windows_core::imp::interface_hierarchy!(DataWriter, windows_core::IUnknown, windows_core::IInspectable, IDataWriter); +windows_core::imp::required_hierarchy!(DataWriter, super::super::Foundation::IClosable); impl DataWriter { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1515,8 +1514,8 @@ unsafe impl Sync for DataWriter {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct DataWriterStoreOperation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(DataWriterStoreOperation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(DataWriterStoreOperation, super::super::Foundation::IAsyncInfo, super::super::Foundation::IAsyncOperation::); +windows_core::imp::interface_hierarchy!(DataWriterStoreOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::IAsyncOperation::); +windows_core::imp::required_hierarchy!(DataWriterStoreOperation, super::super::Foundation::IAsyncInfo); impl DataWriterStoreOperation { pub fn Id(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; @@ -1598,8 +1597,8 @@ unsafe impl Sync for DataWriterStoreOperation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileInputStream(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileInputStream, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(FileInputStream, super::super::Foundation::IClosable, IInputStream); +windows_core::imp::interface_hierarchy!(FileInputStream, windows_core::IUnknown, windows_core::IInspectable, IInputStream); +windows_core::imp::required_hierarchy!(FileInputStream, super::super::Foundation::IClosable); impl FileInputStream { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1631,8 +1630,8 @@ unsafe impl Sync for FileInputStream {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileOutputStream(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileOutputStream, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(FileOutputStream, super::super::Foundation::IClosable, IOutputStream); +windows_core::imp::interface_hierarchy!(FileOutputStream, windows_core::IUnknown, windows_core::IInspectable, IOutputStream); +windows_core::imp::required_hierarchy!(FileOutputStream, super::super::Foundation::IClosable); impl FileOutputStream { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1671,8 +1670,8 @@ unsafe impl Sync for FileOutputStream {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct FileRandomAccessStream(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(FileRandomAccessStream, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(FileRandomAccessStream, super::super::Foundation::IClosable, IInputStream, IOutputStream, IRandomAccessStream); +windows_core::imp::interface_hierarchy!(FileRandomAccessStream, windows_core::IUnknown, windows_core::IInspectable, IRandomAccessStream); +windows_core::imp::required_hierarchy!(FileRandomAccessStream, super::super::Foundation::IClosable, IInputStream, IOutputStream); impl FileRandomAccessStream { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1847,8 +1846,8 @@ unsafe impl Sync for FileRandomAccessStream {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct InMemoryRandomAccessStream(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(InMemoryRandomAccessStream, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(InMemoryRandomAccessStream, super::super::Foundation::IClosable, IInputStream, IOutputStream, IRandomAccessStream); +windows_core::imp::interface_hierarchy!(InMemoryRandomAccessStream, windows_core::IUnknown, windows_core::IInspectable, IRandomAccessStream); +windows_core::imp::required_hierarchy!(InMemoryRandomAccessStream, super::super::Foundation::IClosable, IInputStream, IOutputStream); impl InMemoryRandomAccessStream { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1961,8 +1960,8 @@ unsafe impl Sync for InMemoryRandomAccessStream {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct InputStreamOverStream(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(InputStreamOverStream, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(InputStreamOverStream, super::super::Foundation::IClosable, IInputStream); +windows_core::imp::interface_hierarchy!(InputStreamOverStream, windows_core::IUnknown, windows_core::IInspectable, IInputStream); +windows_core::imp::required_hierarchy!(InputStreamOverStream, super::super::Foundation::IClosable); impl InputStreamOverStream { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1994,8 +1993,8 @@ unsafe impl Sync for InputStreamOverStream {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct OutputStreamOverStream(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(OutputStreamOverStream, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(OutputStreamOverStream, super::super::Foundation::IClosable, IOutputStream); +windows_core::imp::interface_hierarchy!(OutputStreamOverStream, windows_core::IUnknown, windows_core::IInspectable, IOutputStream); +windows_core::imp::required_hierarchy!(OutputStreamOverStream, super::super::Foundation::IClosable); impl OutputStreamOverStream { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -2075,8 +2074,8 @@ impl windows_core::RuntimeName for RandomAccessStream { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct RandomAccessStreamOverStream(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(RandomAccessStreamOverStream, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(RandomAccessStreamOverStream, super::super::Foundation::IClosable, IInputStream, IOutputStream, IRandomAccessStream); +windows_core::imp::interface_hierarchy!(RandomAccessStreamOverStream, windows_core::IUnknown, windows_core::IInspectable, IRandomAccessStream); +windows_core::imp::required_hierarchy!(RandomAccessStreamOverStream, super::super::Foundation::IClosable, IInputStream, IOutputStream); impl RandomAccessStreamOverStream { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -2182,8 +2181,7 @@ unsafe impl Sync for RandomAccessStreamOverStream {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct RandomAccessStreamReference(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(RandomAccessStreamReference, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(RandomAccessStreamReference, IRandomAccessStreamReference); +windows_core::imp::interface_hierarchy!(RandomAccessStreamReference, windows_core::IUnknown, windows_core::IInspectable, IRandomAccessStreamReference); impl RandomAccessStreamReference { pub fn OpenReadAsync(&self) -> windows_core::Result> { let this = self; diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index f5f1150bfc..870a660e83 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -2083,9 +2083,9 @@ unsafe impl Sync for ApplicationData {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ApplicationDataCompositeValue(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ApplicationDataCompositeValue, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ApplicationDataCompositeValue, windows_core::IUnknown, windows_core::IInspectable, super::Foundation::Collections::IPropertySet); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ApplicationDataCompositeValue, super::Foundation::Collections::IIterable::>, super::Foundation::Collections::IMap::, super::Foundation::Collections::IObservableMap::, super::Foundation::Collections::IPropertySet); +windows_core::imp::required_hierarchy!(ApplicationDataCompositeValue, super::Foundation::Collections::IIterable::>, super::Foundation::Collections::IMap::, super::Foundation::Collections::IObservableMap::); #[cfg(feature = "Foundation_Collections")] impl ApplicationDataCompositeValue { pub fn new() -> windows_core::Result { @@ -2275,9 +2275,9 @@ unsafe impl Sync for ApplicationDataContainer {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct ApplicationDataContainerSettings(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(ApplicationDataContainerSettings, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(ApplicationDataContainerSettings, windows_core::IUnknown, windows_core::IInspectable, super::Foundation::Collections::IPropertySet); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(ApplicationDataContainerSettings, super::Foundation::Collections::IIterable::>, super::Foundation::Collections::IMap::, super::Foundation::Collections::IObservableMap::, super::Foundation::Collections::IPropertySet); +windows_core::imp::required_hierarchy!(ApplicationDataContainerSettings, super::Foundation::Collections::IIterable::>, super::Foundation::Collections::IMap::, super::Foundation::Collections::IObservableMap::); #[cfg(feature = "Foundation_Collections")] impl ApplicationDataContainerSettings { #[cfg(feature = "Foundation_Collections")] @@ -3002,9 +3002,9 @@ unsafe impl Sync for SetVersionRequest {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct StorageFile(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(StorageFile, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(StorageFile, windows_core::IUnknown, windows_core::IInspectable, IStorageFile); #[cfg(feature = "Storage_Streams")] -windows_core::imp::required_hierarchy!(StorageFile, Streams::IInputStreamReference, Streams::IRandomAccessStreamReference, IStorageFile, IStorageFile2, IStorageFilePropertiesWithAvailability, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider); +windows_core::imp::required_hierarchy!(StorageFile, Streams::IInputStreamReference, Streams::IRandomAccessStreamReference, IStorageFile2, IStorageFilePropertiesWithAvailability, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider); impl StorageFile { #[cfg(feature = "Storage_Streams")] pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { @@ -3420,9 +3420,9 @@ impl windows_core::RuntimeName for StorageFile { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct StorageFolder(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(StorageFolder, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(StorageFolder, windows_core::IUnknown, windows_core::IInspectable, IStorageFolder); #[cfg(feature = "Storage_Search")] -windows_core::imp::required_hierarchy!(StorageFolder, IStorageFolder, IStorageFolder2, Search::IStorageFolderQueryOperations, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider); +windows_core::imp::required_hierarchy!(StorageFolder, IStorageFolder2, Search::IStorageFolderQueryOperations, IStorageItem, IStorageItem2, IStorageItemProperties, IStorageItemProperties2, IStorageItemPropertiesWithProvider); impl StorageFolder { pub fn CreateFileAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result> { let this = self; @@ -4250,9 +4250,9 @@ impl windows_core::RuntimeName for StorageStreamTransaction { #[derive(PartialEq, Eq, Debug, Clone)] pub struct StreamedFileDataRequest(windows_core::IUnknown); #[cfg(feature = "Storage_Streams")] -windows_core::imp::interface_hierarchy!(StreamedFileDataRequest, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(StreamedFileDataRequest, windows_core::IUnknown, windows_core::IInspectable, Streams::IOutputStream); #[cfg(feature = "Storage_Streams")] -windows_core::imp::required_hierarchy!(StreamedFileDataRequest, super::Foundation::IClosable, Streams::IOutputStream, IStreamedFileDataRequest); +windows_core::imp::required_hierarchy!(StreamedFileDataRequest, super::Foundation::IClosable, IStreamedFileDataRequest); #[cfg(feature = "Storage_Streams")] impl StreamedFileDataRequest { pub fn Close(&self) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index a5dba1277f..007f9c47dd 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -519,9 +519,7 @@ impl windows_core::RuntimeName for CredentialCommand { #[derive(PartialEq, Eq, Debug, Clone)] pub struct SettingsCommand(windows_core::IUnknown); #[cfg(feature = "UI_Popups")] -windows_core::imp::interface_hierarchy!(SettingsCommand, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "UI_Popups")] -windows_core::imp::required_hierarchy!(SettingsCommand, super::Popups::IUICommand); +windows_core::imp::interface_hierarchy!(SettingsCommand, windows_core::IUnknown, windows_core::IInspectable, super::Popups::IUICommand); #[cfg(feature = "UI_Popups")] impl SettingsCommand { #[cfg(feature = "UI_Popups")] diff --git a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs index d97983f5a9..44e5eed031 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -674,9 +674,9 @@ unsafe impl Sync for SceneComponent {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct SceneComponentCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(SceneComponentCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(SceneComponentCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IVector::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(SceneComponentCollection, super::IAnimationObject, super::super::super::Foundation::IClosable, super::super::super::Foundation::Collections::IIterable::, super::super::super::Foundation::Collections::IVector::, SceneObject, super::CompositionObject); +windows_core::imp::required_hierarchy!(SceneComponentCollection, super::IAnimationObject, super::super::super::Foundation::IClosable, super::super::super::Foundation::Collections::IIterable::, SceneObject, super::CompositionObject); #[cfg(feature = "Foundation_Collections")] impl SceneComponentCollection { pub fn PopulatePropertyInfo(&self, propertyname: &windows_core::HSTRING, propertyinfo: P0) -> windows_core::Result<()> @@ -2404,9 +2404,9 @@ unsafe impl Sync for SceneNode {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct SceneNodeCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(SceneNodeCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(SceneNodeCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::super::Foundation::Collections::IVector::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(SceneNodeCollection, super::IAnimationObject, super::super::super::Foundation::IClosable, super::super::super::Foundation::Collections::IIterable::, super::super::super::Foundation::Collections::IVector::, SceneObject, super::CompositionObject); +windows_core::imp::required_hierarchy!(SceneNodeCollection, super::IAnimationObject, super::super::super::Foundation::IClosable, super::super::super::Foundation::Collections::IIterable::, SceneObject, super::CompositionObject); #[cfg(feature = "Foundation_Collections")] impl SceneNodeCollection { pub fn PopulatePropertyInfo(&self, propertyname: &windows_core::HSTRING, propertyinfo: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index e2c6f88bdc..e109bba5d9 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -12689,9 +12689,9 @@ unsafe impl Sync for CompositionShape {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct CompositionShapeCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(CompositionShapeCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(CompositionShapeCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVector::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(CompositionShapeCollection, IAnimationObject, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVector::, CompositionObject); +windows_core::imp::required_hierarchy!(CompositionShapeCollection, IAnimationObject, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::, CompositionObject); #[cfg(feature = "Foundation_Collections")] impl CompositionShapeCollection { pub fn PopulatePropertyInfo(&self, propertyname: &windows_core::HSTRING, propertyinfo: P0) -> windows_core::Result<()> @@ -13271,9 +13271,9 @@ unsafe impl Sync for CompositionSpriteShape {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct CompositionStrokeDashArray(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(CompositionStrokeDashArray, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(CompositionStrokeDashArray, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVector::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(CompositionStrokeDashArray, IAnimationObject, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVector::, CompositionObject); +windows_core::imp::required_hierarchy!(CompositionStrokeDashArray, IAnimationObject, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::, CompositionObject); #[cfg(feature = "Foundation_Collections")] impl CompositionStrokeDashArray { pub fn PopulatePropertyInfo(&self, propertyname: &windows_core::HSTRING, propertyinfo: P0) -> windows_core::Result<()> @@ -17457,9 +17457,9 @@ unsafe impl Sync for ImplicitAnimationCollection {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct InitialValueExpressionCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(InitialValueExpressionCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(InitialValueExpressionCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IMap::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(InitialValueExpressionCollection, IAnimationObject, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::>, super::super::Foundation::Collections::IMap::, CompositionObject); +windows_core::imp::required_hierarchy!(InitialValueExpressionCollection, IAnimationObject, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::>, CompositionObject); #[cfg(feature = "Foundation_Collections")] impl InitialValueExpressionCollection { pub fn PopulatePropertyInfo(&self, propertyname: &windows_core::HSTRING, propertyinfo: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs index 03e573977e..279ff4f8ca 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -239,8 +239,7 @@ unsafe impl Sync for OpacityAnimation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct PropertyAnimation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(PropertyAnimation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(PropertyAnimation, IPropertyAnimation); +windows_core::imp::interface_hierarchy!(PropertyAnimation, windows_core::IUnknown, windows_core::IInspectable, IPropertyAnimation); impl PropertyAnimation { pub fn Type(&self) -> windows_core::Result { let this = self; @@ -382,8 +381,7 @@ unsafe impl Sync for ScaleAnimation {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct TranslationAnimation(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(TranslationAnimation, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(TranslationAnimation, IPropertyAnimation); +windows_core::imp::interface_hierarchy!(TranslationAnimation, windows_core::IUnknown, windows_core::IInspectable, IPropertyAnimation); impl TranslationAnimation { pub fn Type(&self) -> windows_core::Result { let this = self; diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index 665100162c..443c8e6b77 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -1716,8 +1716,7 @@ impl windows_core::RuntimeName for ClosestInteractiveBoundsRequestedEventArgs { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CoreAcceleratorKeys(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CoreAcceleratorKeys, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CoreAcceleratorKeys, ICoreAcceleratorKeys); +windows_core::imp::interface_hierarchy!(CoreAcceleratorKeys, windows_core::IUnknown, windows_core::IInspectable, ICoreAcceleratorKeys); impl CoreAcceleratorKeys { pub fn AcceleratorKeyActivated(&self, handler: P0) -> windows_core::Result where @@ -1749,8 +1748,8 @@ unsafe impl Sync for CoreAcceleratorKeys {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CoreComponentInputSource(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CoreComponentInputSource, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CoreComponentInputSource, ICoreInputSourceBase, ICorePointerInputSource, ICorePointerInputSource2); +windows_core::imp::interface_hierarchy!(CoreComponentInputSource, windows_core::IUnknown, windows_core::IInspectable, ICoreInputSourceBase); +windows_core::imp::required_hierarchy!(CoreComponentInputSource, ICorePointerInputSource, ICorePointerInputSource2); impl CoreComponentInputSource { pub fn ClosestInteractiveBoundsRequested(&self, handler: P0) -> windows_core::Result where @@ -2218,8 +2217,8 @@ unsafe impl Sync for CoreDispatcher {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CoreIndependentInputSource(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CoreIndependentInputSource, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CoreIndependentInputSource, ICoreInputSourceBase, ICorePointerInputSource, ICorePointerInputSource2, ICorePointerRedirector); +windows_core::imp::interface_hierarchy!(CoreIndependentInputSource, windows_core::IUnknown, windows_core::IInspectable, ICoreInputSourceBase); +windows_core::imp::required_hierarchy!(CoreIndependentInputSource, ICorePointerInputSource, ICorePointerInputSource2, ICorePointerRedirector); impl CoreIndependentInputSource { pub fn Dispatcher(&self) -> windows_core::Result { let this = self; @@ -2538,8 +2537,8 @@ unsafe impl Sync for CoreIndependentInputSourceController {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CoreWindow(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CoreWindow, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CoreWindow, ICorePointerRedirector, ICoreWindow); +windows_core::imp::interface_hierarchy!(CoreWindow, windows_core::IUnknown, windows_core::IInspectable, ICoreWindow); +windows_core::imp::required_hierarchy!(CoreWindow, ICorePointerRedirector); impl CoreWindow { pub fn PointerRoutedAway(&self, handler: P0) -> windows_core::Result where @@ -3170,8 +3169,7 @@ impl windows_core::RuntimeName for CoreWindowDialog { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct CoreWindowEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(CoreWindowEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(CoreWindowEventArgs, ICoreWindowEventArgs); +windows_core::imp::interface_hierarchy!(CoreWindowEventArgs, windows_core::IUnknown, windows_core::IInspectable, ICoreWindowEventArgs); impl CoreWindowEventArgs { pub fn Handled(&self) -> windows_core::Result { let this = self; 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 bfdce99480..a0f110cd39 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 @@ -650,8 +650,7 @@ unsafe impl Sync for InkAnalysisListItem {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct InkAnalysisNode(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(InkAnalysisNode, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(InkAnalysisNode, IInkAnalysisNode); +windows_core::imp::interface_hierarchy!(InkAnalysisNode, windows_core::IUnknown, windows_core::IInspectable, IInkAnalysisNode); impl InkAnalysisNode { pub fn Id(&self) -> windows_core::Result { let this = self; 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 ff56e56905..3f75f77c49 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -2070,8 +2070,7 @@ impl windows_core::RuntimeName for InkRecognizer { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct InkRecognizerContainer(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(InkRecognizerContainer, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(InkRecognizerContainer, IInkRecognizerContainer); +windows_core::imp::interface_hierarchy!(InkRecognizerContainer, windows_core::IUnknown, windows_core::IInspectable, IInkRecognizerContainer); impl InkRecognizerContainer { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -2347,8 +2346,7 @@ impl windows_core::RuntimeName for InkStrokeBuilder { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct InkStrokeContainer(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(InkStrokeContainer, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(InkStrokeContainer, IInkStrokeContainer); +windows_core::imp::interface_hierarchy!(InkStrokeContainer, windows_core::IUnknown, windows_core::IInspectable, IInkStrokeContainer); impl InkStrokeContainer { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index 79d99fd32f..50838c4442 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -277,8 +277,7 @@ impl windows_core::RuntimeName for PopupMenu { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct UICommand(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(UICommand, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(UICommand, IUICommand); +windows_core::imp::interface_hierarchy!(UICommand, windows_core::IUnknown, windows_core::IInspectable, IUICommand); impl UICommand { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -372,8 +371,7 @@ unsafe impl Sync for UICommand {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct UICommandSeparator(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(UICommandSeparator, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(UICommandSeparator, IUICommand); +windows_core::imp::interface_hierarchy!(UICommandSeparator, windows_core::IUnknown, windows_core::IInspectable, IUICommand); impl UICommandSeparator { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index 5acd7107f5..5a3d05a01d 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -1974,8 +1974,7 @@ unsafe impl Sync for FontWeights {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct RichEditTextDocument(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(RichEditTextDocument, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(RichEditTextDocument, ITextDocument); +windows_core::imp::interface_hierarchy!(RichEditTextDocument, windows_core::IUnknown, windows_core::IInspectable, ITextDocument); impl RichEditTextDocument { pub fn CaretType(&self) -> windows_core::Result { let this = self; @@ -2195,8 +2194,7 @@ unsafe impl Sync for RichEditTextDocument {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct RichEditTextRange(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(RichEditTextRange, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(RichEditTextRange, ITextRange); +windows_core::imp::interface_hierarchy!(RichEditTextRange, windows_core::IUnknown, windows_core::IInspectable, ITextRange); impl RichEditTextRange { pub fn ContentLinkInfo(&self) -> windows_core::Result { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index 862bc95b0d..aebafde973 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -314,9 +314,7 @@ impl windows_core::RuntimeName for ActivatedOperation { #[derive(PartialEq, Eq, Debug, Clone)] pub struct BackgroundActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(BackgroundActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(BackgroundActivatedEventArgs, super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs); +windows_core::imp::interface_hierarchy!(BackgroundActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl BackgroundActivatedEventArgs { #[cfg(all(feature = "ApplicationModel_Activation", feature = "ApplicationModel_Background"))] @@ -350,9 +348,7 @@ unsafe impl Sync for BackgroundActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct EnteredBackgroundEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] -windows_core::imp::interface_hierarchy!(EnteredBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "ApplicationModel")] -windows_core::imp::required_hierarchy!(EnteredBackgroundEventArgs, super::super::ApplicationModel::IEnteredBackgroundEventArgs); +windows_core::imp::interface_hierarchy!(EnteredBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::IEnteredBackgroundEventArgs); #[cfg(feature = "ApplicationModel")] impl EnteredBackgroundEventArgs { #[cfg(feature = "ApplicationModel")] @@ -512,9 +508,7 @@ unsafe impl Sync for HtmlPrintDocumentSource {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct LeavingBackgroundEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] -windows_core::imp::interface_hierarchy!(LeavingBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "ApplicationModel")] -windows_core::imp::required_hierarchy!(LeavingBackgroundEventArgs, super::super::ApplicationModel::ILeavingBackgroundEventArgs); +windows_core::imp::interface_hierarchy!(LeavingBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::ILeavingBackgroundEventArgs); #[cfg(feature = "ApplicationModel")] impl LeavingBackgroundEventArgs { #[cfg(feature = "ApplicationModel")] @@ -593,9 +587,7 @@ impl windows_core::RuntimeName for NewWebUIViewCreatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct SuspendingDeferral(windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] -windows_core::imp::interface_hierarchy!(SuspendingDeferral, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "ApplicationModel")] -windows_core::imp::required_hierarchy!(SuspendingDeferral, super::super::ApplicationModel::ISuspendingDeferral); +windows_core::imp::interface_hierarchy!(SuspendingDeferral, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::ISuspendingDeferral); #[cfg(feature = "ApplicationModel")] impl SuspendingDeferral { #[cfg(feature = "ApplicationModel")] @@ -622,9 +614,7 @@ impl windows_core::RuntimeName for SuspendingDeferral { #[derive(PartialEq, Eq, Debug, Clone)] pub struct SuspendingEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] -windows_core::imp::interface_hierarchy!(SuspendingEventArgs, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "ApplicationModel")] -windows_core::imp::required_hierarchy!(SuspendingEventArgs, super::super::ApplicationModel::ISuspendingEventArgs); +windows_core::imp::interface_hierarchy!(SuspendingEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::ISuspendingEventArgs); #[cfg(feature = "ApplicationModel")] impl SuspendingEventArgs { #[cfg(feature = "ApplicationModel")] @@ -654,9 +644,7 @@ impl windows_core::RuntimeName for SuspendingEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct SuspendingOperation(windows_core::IUnknown); #[cfg(feature = "ApplicationModel")] -windows_core::imp::interface_hierarchy!(SuspendingOperation, windows_core::IUnknown, windows_core::IInspectable); -#[cfg(feature = "ApplicationModel")] -windows_core::imp::required_hierarchy!(SuspendingOperation, super::super::ApplicationModel::ISuspendingOperation); +windows_core::imp::interface_hierarchy!(SuspendingOperation, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::ISuspendingOperation); #[cfg(feature = "ApplicationModel")] impl SuspendingOperation { #[cfg(feature = "ApplicationModel")] @@ -841,9 +829,9 @@ impl windows_core::RuntimeName for WebUIApplication { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIAppointmentsProviderAddAppointmentActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderAddAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderAddAppointmentActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -920,9 +908,9 @@ impl windows_core::RuntimeName for WebUIAppointmentsProviderAddAppointmentActiva #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderRemoveAppointmentActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -999,9 +987,9 @@ impl windows_core::RuntimeName for WebUIAppointmentsProviderRemoveAppointmentAct #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderReplaceAppointmentActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1078,9 +1066,9 @@ impl windows_core::RuntimeName for WebUIAppointmentsProviderReplaceAppointmentAc #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1173,9 +1161,9 @@ impl windows_core::RuntimeName for WebUIAppointmentsProviderShowAppointmentDetai #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIAppointmentsProviderShowTimeFrameActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1275,9 +1263,9 @@ impl windows_core::RuntimeName for WebUIBackgroundTaskInstance { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIBackgroundTaskInstanceRuntimeClass(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebUIBackgroundTaskInstanceRuntimeClass, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIBackgroundTaskInstanceRuntimeClass, windows_core::IUnknown, windows_core::IInspectable, IWebUIBackgroundTaskInstance); #[cfg(feature = "ApplicationModel_Background")] -windows_core::imp::required_hierarchy!(WebUIBackgroundTaskInstanceRuntimeClass, super::super::ApplicationModel::Background::IBackgroundTaskInstance, IWebUIBackgroundTaskInstance); +windows_core::imp::required_hierarchy!(WebUIBackgroundTaskInstanceRuntimeClass, super::super::ApplicationModel::Background::IBackgroundTaskInstance); impl WebUIBackgroundTaskInstanceRuntimeClass { #[cfg(feature = "ApplicationModel_Background")] pub fn InstanceId(&self) -> windows_core::Result { @@ -1375,9 +1363,9 @@ impl windows_core::RuntimeName for WebUIBackgroundTaskInstanceRuntimeClass { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIBarcodeScannerPreviewActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIBarcodeScannerPreviewActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIBarcodeScannerPreviewActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1450,9 +1438,9 @@ unsafe impl Sync for WebUIBarcodeScannerPreviewActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUICachedFileUpdaterActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUICachedFileUpdaterActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUICachedFileUpdaterActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1521,9 +1509,9 @@ impl windows_core::RuntimeName for WebUICachedFileUpdaterActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUICameraSettingsActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUICameraSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUICameraSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUICameraSettingsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUICameraSettingsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUICameraSettingsActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1592,9 +1580,9 @@ impl windows_core::RuntimeName for WebUICameraSettingsActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUICommandLineActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUICommandLineActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUICommandLineActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::ICommandLineActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUICommandLineActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::ICommandLineActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUICommandLineActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUICommandLineActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1667,9 +1655,9 @@ unsafe impl Sync for WebUICommandLineActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIContactCallActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIContactCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIContactCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IContactCallActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIContactCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs, super::super::ApplicationModel::Activation::IContactCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIContactCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactCallActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1754,9 +1742,9 @@ impl windows_core::RuntimeName for WebUIContactCallActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIContactMapActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIContactMapActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIContactMapActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IContactMapActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIContactMapActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs, super::super::ApplicationModel::Activation::IContactMapActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIContactMapActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactMapActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1833,9 +1821,9 @@ impl windows_core::RuntimeName for WebUIContactMapActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIContactMessageActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIContactMessageActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIContactMessageActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IContactMessageActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIContactMessageActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs, super::super::ApplicationModel::Activation::IContactMessageActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIContactMessageActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactMessageActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -1920,9 +1908,9 @@ impl windows_core::RuntimeName for WebUIContactMessageActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIContactPanelActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIContactPanelActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIContactPanelActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IContactPanelActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIContactPanelActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContactPanelActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIContactPanelActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactPanelActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2003,9 +1991,9 @@ unsafe impl Sync for WebUIContactPanelActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIContactPickerActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIContactPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIContactPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IContactPickerActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIContactPickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactPickerActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIContactPickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactPickerActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2066,9 +2054,9 @@ impl windows_core::RuntimeName for WebUIContactPickerActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIContactPostActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIContactPostActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIContactPostActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IContactPostActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIContactPostActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs, super::super::ApplicationModel::Activation::IContactPostActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIContactPostActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactPostActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2153,9 +2141,9 @@ impl windows_core::RuntimeName for WebUIContactPostActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIContactVideoCallActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIContactVideoCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIContactVideoCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIContactVideoCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs, super::super::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIContactVideoCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContactActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIContactVideoCallActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2240,9 +2228,9 @@ impl windows_core::RuntimeName for WebUIContactVideoCallActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIDeviceActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIDeviceActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIDeviceActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IDeviceActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIDeviceActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IDeviceActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIDeviceActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIDeviceActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2327,9 +2315,9 @@ impl windows_core::RuntimeName for WebUIDeviceActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIDevicePairingActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIDevicePairingActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIDevicePairingActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IDevicePairingActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIDevicePairingActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IDevicePairingActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIDevicePairingActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIDevicePairingActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2398,9 +2386,9 @@ impl windows_core::RuntimeName for WebUIDevicePairingActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIDialReceiverActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIDialReceiverActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIDialReceiverActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IDialReceiverActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIDialReceiverActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IDialReceiverActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIDialReceiverActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIDialReceiverActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2493,9 +2481,9 @@ impl windows_core::RuntimeName for WebUIDialReceiverActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIFileActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIFileActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIFileActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IFileActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIFileActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IFileActivatedEventArgs, super::super::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles); +windows_core::imp::required_hierarchy!(WebUIFileActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIFileActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2588,9 +2576,9 @@ impl windows_core::RuntimeName for WebUIFileActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIFileOpenPickerActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs, super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2); +windows_core::imp::required_hierarchy!(WebUIFileOpenPickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIFileOpenPickerActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2667,9 +2655,9 @@ impl windows_core::RuntimeName for WebUIFileOpenPickerActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIFileOpenPickerContinuationEventArgs(windows_core::IUnknown); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::interface_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::required_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs, super::super::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs); +windows_core::imp::required_hierarchy!(WebUIFileOpenPickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIFileOpenPickerContinuationEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2746,9 +2734,9 @@ impl windows_core::RuntimeName for WebUIFileOpenPickerContinuationEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIFileSavePickerActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIFileSavePickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIFileSavePickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIFileSavePickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs, super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2); +windows_core::imp::required_hierarchy!(WebUIFileSavePickerActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIFileSavePickerActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2833,9 +2821,9 @@ impl windows_core::RuntimeName for WebUIFileSavePickerActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIFileSavePickerContinuationEventArgs(windows_core::IUnknown); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::interface_hierarchy!(WebUIFileSavePickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIFileSavePickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::required_hierarchy!(WebUIFileSavePickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs, super::super::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs); +windows_core::imp::required_hierarchy!(WebUIFileSavePickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIFileSavePickerContinuationEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2912,9 +2900,9 @@ impl windows_core::RuntimeName for WebUIFileSavePickerContinuationEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIFolderPickerContinuationEventArgs(windows_core::IUnknown); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::interface_hierarchy!(WebUIFolderPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIFolderPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IFolderPickerContinuationEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::required_hierarchy!(WebUIFolderPickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs, super::super::ApplicationModel::Activation::IFolderPickerContinuationEventArgs); +windows_core::imp::required_hierarchy!(WebUIFolderPickerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIFolderPickerContinuationEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -2991,18 +2979,9 @@ impl windows_core::RuntimeName for WebUIFolderPickerContinuationEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUILaunchActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUILaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUILaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!( - WebUILaunchActivatedEventArgs, - super::super::ApplicationModel::Activation::IActivatedEventArgs, - IActivatedEventArgsDeferral, - super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, - super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, - super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs, - super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs2, - super::super::ApplicationModel::Activation::IPrelaunchActivatedEventArgs -); +windows_core::imp::required_hierarchy!(WebUILaunchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs2, super::super::ApplicationModel::Activation::IPrelaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILaunchActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3103,9 +3082,9 @@ impl windows_core::RuntimeName for WebUILaunchActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUILockScreenActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUILockScreenActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUILockScreenActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::ILockScreenActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUILockScreenActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILockScreenActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUILockScreenActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILockScreenActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3182,9 +3161,9 @@ impl windows_core::RuntimeName for WebUILockScreenActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUILockScreenCallActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUILockScreenCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUILockScreenCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUILockScreenCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs, super::super::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUILockScreenCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ILaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILockScreenCallActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3269,9 +3248,9 @@ impl windows_core::RuntimeName for WebUILockScreenCallActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUILockScreenComponentActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUILockScreenComponentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUILockScreenComponentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUILockScreenComponentActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); +windows_core::imp::required_hierarchy!(WebUILockScreenComponentActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUILockScreenComponentActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3342,8 +3321,7 @@ impl windows_core::RuntimeName for WebUINavigatedDeferral { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUINavigatedEventArgs(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebUINavigatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebUINavigatedEventArgs, IWebUINavigatedEventArgs); +windows_core::imp::interface_hierarchy!(WebUINavigatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, IWebUINavigatedEventArgs); impl WebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> windows_core::Result { let this = self; @@ -3391,9 +3369,9 @@ impl windows_core::RuntimeName for WebUINavigatedOperation { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIPhoneCallActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIPhoneCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIPhoneCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IPhoneCallActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIPhoneCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IPhoneCallActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIPhoneCallActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPhoneCallActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3466,9 +3444,9 @@ unsafe impl Sync for WebUIPhoneCallActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIPrint3DWorkflowActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIPrint3DWorkflowActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPrint3DWorkflowActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3529,9 +3507,9 @@ impl windows_core::RuntimeName for WebUIPrint3DWorkflowActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIPrintTaskSettingsActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIPrintTaskSettingsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPrintTaskSettingsActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3592,9 +3570,9 @@ impl windows_core::RuntimeName for WebUIPrintTaskSettingsActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIPrintWorkflowForegroundTaskActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); +windows_core::imp::required_hierarchy!(WebUIPrintWorkflowForegroundTaskActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIPrintWorkflowForegroundTaskActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3647,9 +3625,9 @@ impl windows_core::RuntimeName for WebUIPrintWorkflowForegroundTaskActivatedEven #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIProtocolActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIProtocolActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIProtocolActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIProtocolActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData); +windows_core::imp::required_hierarchy!(WebUIProtocolActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIProtocolActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3742,18 +3720,9 @@ impl windows_core::RuntimeName for WebUIProtocolActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIProtocolForResultsActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIProtocolForResultsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIProtocolForResultsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!( - WebUIProtocolForResultsActivatedEventArgs, - super::super::ApplicationModel::Activation::IActivatedEventArgs, - IActivatedEventArgsDeferral, - super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, - super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, - super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs, - super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, - super::super::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs -); +windows_core::imp::required_hierarchy!(WebUIProtocolForResultsActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgs, super::super::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIProtocolForResultsActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3854,9 +3823,9 @@ impl windows_core::RuntimeName for WebUIProtocolForResultsActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIRestrictedLaunchActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIRestrictedLaunchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIRestrictedLaunchActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -3925,9 +3894,9 @@ impl windows_core::RuntimeName for WebUIRestrictedLaunchActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUISearchActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUISearchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUISearchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::ISearchActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUISearchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ISearchActivatedEventArgs, super::super::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails); +windows_core::imp::required_hierarchy!(WebUISearchActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IApplicationViewActivatedEventArgs, super::super::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails); #[cfg(feature = "ApplicationModel_Activation")] impl WebUISearchActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -4012,9 +3981,9 @@ impl windows_core::RuntimeName for WebUISearchActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIShareTargetActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIShareTargetActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIShareTargetActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IShareTargetActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIShareTargetActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IShareTargetActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIShareTargetActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIShareTargetActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -4083,9 +4052,9 @@ impl windows_core::RuntimeName for WebUIShareTargetActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIStartupTaskActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIStartupTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIStartupTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IStartupTaskActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIStartupTaskActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IStartupTaskActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIStartupTaskActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIStartupTaskActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -4158,9 +4127,9 @@ unsafe impl Sync for WebUIStartupTaskActivatedEventArgs {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIToastNotificationActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIToastNotificationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIToastNotificationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IToastNotificationActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIToastNotificationActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IToastNotificationActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIToastNotificationActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIToastNotificationActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -4237,9 +4206,9 @@ impl windows_core::RuntimeName for WebUIToastNotificationActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIUserDataAccountProviderActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIUserDataAccountProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIUserDataAccountProviderActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -4832,9 +4801,9 @@ impl windows_core::RuntimeName for WebUIView { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIVoiceCommandActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIVoiceCommandActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIVoiceCommandActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIVoiceCommandActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIVoiceCommandActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIVoiceCommandActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -4903,9 +4872,9 @@ impl windows_core::RuntimeName for WebUIVoiceCommandActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIWalletActionActivatedEventArgs(windows_core::IUnknown); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::interface_hierarchy!(WebUIWalletActionActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIWalletActionActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IWalletActionActivatedEventArgs); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] -windows_core::imp::required_hierarchy!(WebUIWalletActionActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IWalletActionActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIWalletActionActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral); #[cfg(all(feature = "ApplicationModel_Activation", feature = "deprecated"))] impl WebUIWalletActionActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -4982,9 +4951,9 @@ impl windows_core::RuntimeName for WebUIWalletActionActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIWebAccountProviderActivatedEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser, super::super::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs); +windows_core::imp::required_hierarchy!(WebUIWebAccountProviderActivatedEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IActivatedEventArgsWithUser); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIWebAccountProviderActivatedEventArgs { #[cfg(feature = "ApplicationModel_Activation")] @@ -5053,9 +5022,9 @@ impl windows_core::RuntimeName for WebUIWebAccountProviderActivatedEventArgs { #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebUIWebAuthenticationBrokerContinuationEventArgs(windows_core::IUnknown); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::interface_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable, super::super::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs); #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::required_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs, super::super::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs); +windows_core::imp::required_hierarchy!(WebUIWebAuthenticationBrokerContinuationEventArgs, super::super::ApplicationModel::Activation::IActivatedEventArgs, IActivatedEventArgsDeferral, super::super::ApplicationModel::Activation::IContinuationActivatedEventArgs); #[cfg(feature = "ApplicationModel_Activation")] impl WebUIWebAuthenticationBrokerContinuationEventArgs { #[cfg(feature = "ApplicationModel_Activation")] diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index b580768e7c..07702a88d1 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -502,8 +502,8 @@ pub struct IHttpTransportInformation_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct HttpBufferContent(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(HttpBufferContent, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(HttpBufferContent, super::super::Foundation::IClosable, IHttpContent, super::super::Foundation::IStringable); +windows_core::imp::interface_hierarchy!(HttpBufferContent, windows_core::IUnknown, windows_core::IInspectable, IHttpContent); +windows_core::imp::required_hierarchy!(HttpBufferContent, super::super::Foundation::IClosable, super::super::Foundation::IStringable); impl HttpBufferContent { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -997,9 +997,9 @@ unsafe impl Sync for HttpCookie {} #[derive(PartialEq, Eq, Debug, Clone)] pub struct HttpCookieCollection(windows_core::IUnknown); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::interface_hierarchy!(HttpCookieCollection, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(HttpCookieCollection, windows_core::IUnknown, windows_core::IInspectable, super::super::Foundation::Collections::IVectorView::); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(HttpCookieCollection, super::super::Foundation::Collections::IIterable::, super::super::Foundation::Collections::IVectorView::); +windows_core::imp::required_hierarchy!(HttpCookieCollection, super::super::Foundation::Collections::IIterable::); #[cfg(feature = "Foundation_Collections")] impl HttpCookieCollection { #[cfg(feature = "Foundation_Collections")] @@ -1138,8 +1138,8 @@ unsafe impl Sync for HttpCookieManager {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct HttpFormUrlEncodedContent(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(HttpFormUrlEncodedContent, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(HttpFormUrlEncodedContent, super::super::Foundation::IClosable, IHttpContent, super::super::Foundation::IStringable); +windows_core::imp::interface_hierarchy!(HttpFormUrlEncodedContent, windows_core::IUnknown, windows_core::IInspectable, IHttpContent); +windows_core::imp::required_hierarchy!(HttpFormUrlEncodedContent, super::super::Foundation::IClosable, super::super::Foundation::IStringable); impl HttpFormUrlEncodedContent { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -1527,9 +1527,9 @@ unsafe impl Sync for HttpMethod {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct HttpMultipartContent(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(HttpMultipartContent, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(HttpMultipartContent, windows_core::IUnknown, windows_core::IInspectable, IHttpContent); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(HttpMultipartContent, super::super::Foundation::IClosable, IHttpContent, super::super::Foundation::Collections::IIterable::, super::super::Foundation::IStringable); +windows_core::imp::required_hierarchy!(HttpMultipartContent, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::, super::super::Foundation::IStringable); impl HttpMultipartContent { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -1669,9 +1669,9 @@ unsafe impl Sync for HttpMultipartContent {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct HttpMultipartFormDataContent(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(HttpMultipartFormDataContent, windows_core::IUnknown, windows_core::IInspectable); +windows_core::imp::interface_hierarchy!(HttpMultipartFormDataContent, windows_core::IUnknown, windows_core::IInspectable, IHttpContent); #[cfg(feature = "Foundation_Collections")] -windows_core::imp::required_hierarchy!(HttpMultipartFormDataContent, super::super::Foundation::IClosable, IHttpContent, super::super::Foundation::Collections::IIterable::, super::super::Foundation::IStringable); +windows_core::imp::required_hierarchy!(HttpMultipartFormDataContent, super::super::Foundation::IClosable, super::super::Foundation::Collections::IIterable::, super::super::Foundation::IStringable); impl HttpMultipartFormDataContent { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -2147,8 +2147,8 @@ unsafe impl Sync for HttpResponseMessage {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct HttpStreamContent(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(HttpStreamContent, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(HttpStreamContent, super::super::Foundation::IClosable, IHttpContent, super::super::Foundation::IStringable); +windows_core::imp::interface_hierarchy!(HttpStreamContent, windows_core::IUnknown, windows_core::IInspectable, IHttpContent); +windows_core::imp::required_hierarchy!(HttpStreamContent, super::super::Foundation::IClosable, super::super::Foundation::IStringable); impl HttpStreamContent { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; @@ -2248,8 +2248,8 @@ unsafe impl Sync for HttpStreamContent {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct HttpStringContent(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(HttpStringContent, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(HttpStringContent, super::super::Foundation::IClosable, IHttpContent, super::super::Foundation::IStringable); +windows_core::imp::interface_hierarchy!(HttpStringContent, windows_core::IUnknown, windows_core::IInspectable, IHttpContent); +windows_core::imp::required_hierarchy!(HttpStringContent, super::super::Foundation::IClosable, super::super::Foundation::IStringable); impl HttpStringContent { pub fn Close(&self) -> windows_core::Result<()> { let this = &windows_core::Interface::cast::(self)?; diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index 83de803bb7..3aacff897a 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -926,8 +926,7 @@ unsafe impl Sync for SyndicationCategory {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SyndicationClient(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SyndicationClient, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SyndicationClient, ISyndicationClient); +windows_core::imp::interface_hierarchy!(SyndicationClient, windows_core::IUnknown, windows_core::IInspectable, ISyndicationClient); impl SyndicationClient { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -2225,8 +2224,7 @@ unsafe impl Sync for SyndicationLink {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SyndicationNode(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SyndicationNode, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SyndicationNode, ISyndicationNode); +windows_core::imp::interface_hierarchy!(SyndicationNode, windows_core::IUnknown, windows_core::IInspectable, ISyndicationNode); impl SyndicationNode { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) @@ -2508,8 +2506,8 @@ unsafe impl Sync for SyndicationPerson {} #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct SyndicationText(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(SyndicationText, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(SyndicationText, ISyndicationNode, ISyndicationText); +windows_core::imp::interface_hierarchy!(SyndicationText, windows_core::IUnknown, windows_core::IInspectable, ISyndicationText); +windows_core::imp::required_hierarchy!(SyndicationText, ISyndicationNode); impl SyndicationText { pub fn new() -> windows_core::Result { Self::IActivationFactory(|f| f.ActivateInstance::()) 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 9b69c14969..b91ec87efd 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -106,8 +106,8 @@ pub struct IWebViewControlSite2_Vtbl { #[repr(transparent)] #[derive(PartialEq, Eq, Debug, Clone)] pub struct WebViewControl(windows_core::IUnknown); -windows_core::imp::interface_hierarchy!(WebViewControl, windows_core::IUnknown, windows_core::IInspectable); -windows_core::imp::required_hierarchy!(WebViewControl, super::IWebViewControl, super::IWebViewControl2); +windows_core::imp::interface_hierarchy!(WebViewControl, windows_core::IUnknown, windows_core::IInspectable, super::IWebViewControl); +windows_core::imp::required_hierarchy!(WebViewControl, super::IWebViewControl2); impl WebViewControl { pub fn Source(&self) -> windows_core::Result { let this = self; diff --git a/crates/tests/class_hierarchy/Cargo.toml b/crates/tests/class_hierarchy/Cargo.toml new file mode 100644 index 0000000000..1f3c5c9d1c --- /dev/null +++ b/crates/tests/class_hierarchy/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "test_class_hierarchy" +version = "0.0.0" +edition = "2021" +publish = false + +[lib] +doc = false +doctest = false + +[dependencies.windows] +path = "../../libs/windows" +features = [ + "Foundation", +] diff --git a/crates/tests/class_hierarchy/src/lib.rs b/crates/tests/class_hierarchy/src/lib.rs new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/crates/tests/class_hierarchy/src/lib.rs @@ -0,0 +1 @@ + diff --git a/crates/tests/class_hierarchy/tests/tests.rs b/crates/tests/class_hierarchy/tests/tests.rs new file mode 100644 index 0000000000..351edf4c03 --- /dev/null +++ b/crates/tests/class_hierarchy/tests/tests.rs @@ -0,0 +1,38 @@ +use windows::{core::*, Foundation::*}; + +#[test] +fn test() -> Result<()> { + let class: MemoryBuffer = MemoryBuffer::Create(10)?; + + call_class(&class)?; + call_interface((&class).into())?; + as_class(&class)?; + as_interface(&class)?; + + // `IMemoryBuffer` is `MemoryBuffer`'s default interface, even though it is not an exclusive interface. + // So this `into` cast should succeed without requiring a call to `QueryInterface`. + let interface: IMemoryBuffer = class.into(); + + call_interface(&interface)?; + as_interface(&interface)?; + + Ok(()) +} + +fn call_class(b: &MemoryBuffer) -> Result<()> { + assert_eq!(10, b.CreateReference()?.Capacity()?); + Ok(()) +} + +fn call_interface(b: &IMemoryBuffer) -> Result<()> { + assert_eq!(10, b.CreateReference()?.Capacity()?); + Ok(()) +} + +fn as_class>(b: P) -> Result<()> { + unsafe { call_class(&b.param().borrow().as_ref().unwrap()) } +} + +fn as_interface>(b: P) -> Result<()> { + unsafe { call_interface(&b.param().borrow().as_ref().unwrap()) } +}