| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowBulkCapabilities(::windows::core::IUnknown); |
| impl ISideShowBulkCapabilities { |
| #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] |
| pub unsafe fn GetCapability(&self, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).base__.GetCapability)(::windows::core::Interface::as_raw(self), in_keycapability, inout_pvalue).ok() |
| } |
| pub unsafe fn GetCapabilities<P0>(&self, in_keycollection: P0, inout_pvalues: *mut ::core::option::Option<ISideShowPropVariantCollection>) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowKeyCollection>, |
| { |
| (::windows::core::Interface::vtable(self).GetCapabilities)(::windows::core::Interface::as_raw(self), in_keycollection.into_param().abi(), ::core::mem::transmute(inout_pvalues)).ok() |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowBulkCapabilities, ::windows::core::IUnknown, ISideShowCapabilities); |
| impl ::core::cmp::PartialEq for ISideShowBulkCapabilities { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowBulkCapabilities {} |
| impl ::core::fmt::Debug for ISideShowBulkCapabilities { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowBulkCapabilities").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowBulkCapabilities { |
| type Vtable = ISideShowBulkCapabilities_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowBulkCapabilities { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowBulkCapabilities { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3a2b7fbc_3ad5_48bd_bbf1_0e6cfbd10807); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowBulkCapabilities_Vtbl { |
| pub base__: ISideShowCapabilities_Vtbl, |
| pub GetCapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_keycollection: *mut ::core::ffi::c_void, inout_pvalues: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowCapabilities(::windows::core::IUnknown); |
| impl ISideShowCapabilities { |
| #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] |
| pub unsafe fn GetCapability(&self, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).GetCapability)(::windows::core::Interface::as_raw(self), in_keycapability, inout_pvalue).ok() |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowCapabilities, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowCapabilities { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowCapabilities {} |
| impl ::core::fmt::Debug for ISideShowCapabilities { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowCapabilities").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowCapabilities { |
| type Vtable = ISideShowCapabilities_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowCapabilities { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowCapabilities { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x535e1379_c09e_4a54_a511_597bab3a72b8); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowCapabilities_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem"))] |
| pub GetCapability: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_keycapability: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY, inout_pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, |
| #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_UI_Shell_PropertiesSystem")))] |
| GetCapability: usize, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowCapabilitiesCollection(::windows::core::IUnknown); |
| impl ISideShowCapabilitiesCollection { |
| pub unsafe fn GetCount(&self) -> ::windows::core::Result<u32> { |
| let mut result__ = ::windows::core::zeroed::<u32>(); |
| (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn GetAt(&self, in_dwindex: u32) -> ::windows::core::Result<ISideShowCapabilities> { |
| let mut result__ = ::windows::core::zeroed::<ISideShowCapabilities>(); |
| (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), in_dwindex, &mut result__).from_abi(result__) |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowCapabilitiesCollection, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowCapabilitiesCollection { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowCapabilitiesCollection {} |
| impl ::core::fmt::Debug for ISideShowCapabilitiesCollection { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowCapabilitiesCollection").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowCapabilitiesCollection { |
| type Vtable = ISideShowCapabilitiesCollection_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowCapabilitiesCollection { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowCapabilitiesCollection { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x50305597_5e0d_4ff7_b3af_33d0d9bd52dd); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowCapabilitiesCollection_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_pdwcount: *mut u32) -> ::windows::core::HRESULT, |
| pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_dwindex: u32, out_ppcapabilities: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowContent(::windows::core::IUnknown); |
| impl ISideShowContent { |
| pub unsafe fn GetContent<P0>(&self, in_picapabilities: P0, out_pdwsize: *mut u32, out_ppbdata: *mut *mut u8) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowCapabilities>, |
| { |
| (::windows::core::Interface::vtable(self).GetContent)(::windows::core::Interface::as_raw(self), in_picapabilities.into_param().abi(), out_pdwsize, out_ppbdata).ok() |
| } |
| pub unsafe fn ContentId(&self) -> ::windows::core::Result<u32> { |
| let mut result__ = ::windows::core::zeroed::<u32>(); |
| (::windows::core::Interface::vtable(self).ContentId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| #[doc = "*Required features: `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn DifferentiateContent(&self) -> ::windows::core::Result<super::super::Foundation::BOOL> { |
| let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); |
| (::windows::core::Interface::vtable(self).DifferentiateContent)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowContent, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowContent { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowContent {} |
| impl ::core::fmt::Debug for ISideShowContent { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowContent").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowContent { |
| type Vtable = ISideShowContent_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowContent { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowContent { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc18552ed_74ff_4fec_be07_4cfed29d4887); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowContent_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| pub GetContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_picapabilities: *mut ::core::ffi::c_void, out_pdwsize: *mut u32, out_ppbdata: *mut *mut u8) -> ::windows::core::HRESULT, |
| pub ContentId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_pcontentid: *mut u32) -> ::windows::core::HRESULT, |
| #[cfg(feature = "Win32_Foundation")] |
| pub DifferentiateContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_pfdifferentiatecontent: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| DifferentiateContent: usize, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowContentManager(::windows::core::IUnknown); |
| impl ISideShowContentManager { |
| pub unsafe fn Add<P0>(&self, in_picontent: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowContent>, |
| { |
| (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), in_picontent.into_param().abi()).ok() |
| } |
| pub unsafe fn Remove(&self, in_contentid: u32) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).Remove)(::windows::core::Interface::as_raw(self), in_contentid).ok() |
| } |
| pub unsafe fn RemoveAll(&self) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).RemoveAll)(::windows::core::Interface::as_raw(self)).ok() |
| } |
| pub unsafe fn SetEventSink<P0>(&self, in_pievents: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowEvents>, |
| { |
| (::windows::core::Interface::vtable(self).SetEventSink)(::windows::core::Interface::as_raw(self), in_pievents.into_param().abi()).ok() |
| } |
| pub unsafe fn GetDeviceCapabilities(&self) -> ::windows::core::Result<ISideShowCapabilitiesCollection> { |
| let mut result__ = ::windows::core::zeroed::<ISideShowCapabilitiesCollection>(); |
| (::windows::core::Interface::vtable(self).GetDeviceCapabilities)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowContentManager, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowContentManager { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowContentManager {} |
| impl ::core::fmt::Debug for ISideShowContentManager { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowContentManager").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowContentManager { |
| type Vtable = ISideShowContentManager_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowContentManager { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowContentManager { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa5d5b66b_eef9_41db_8d7e_e17c33ab10b0); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowContentManager_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_picontent: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| pub Remove: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_contentid: u32) -> ::windows::core::HRESULT, |
| pub RemoveAll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| pub SetEventSink: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_pievents: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| pub GetDeviceCapabilities: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_ppcollection: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowEvents(::windows::core::IUnknown); |
| impl ISideShowEvents { |
| pub unsafe fn ContentMissing(&self, in_contentid: u32) -> ::windows::core::Result<ISideShowContent> { |
| let mut result__ = ::windows::core::zeroed::<ISideShowContent>(); |
| (::windows::core::Interface::vtable(self).ContentMissing)(::windows::core::Interface::as_raw(self), in_contentid, &mut result__).from_abi(result__) |
| } |
| pub unsafe fn ApplicationEvent<P0>(&self, in_picapabilities: P0, in_dweventid: u32, in_pbeventdata: ::core::option::Option<&[u8]>) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowCapabilities>, |
| { |
| (::windows::core::Interface::vtable(self).ApplicationEvent)(::windows::core::Interface::as_raw(self), in_picapabilities.into_param().abi(), in_dweventid, in_pbeventdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(in_pbeventdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok() |
| } |
| pub unsafe fn DeviceAdded<P0>(&self, in_pidevice: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowCapabilities>, |
| { |
| (::windows::core::Interface::vtable(self).DeviceAdded)(::windows::core::Interface::as_raw(self), in_pidevice.into_param().abi()).ok() |
| } |
| pub unsafe fn DeviceRemoved<P0>(&self, in_pidevice: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowCapabilities>, |
| { |
| (::windows::core::Interface::vtable(self).DeviceRemoved)(::windows::core::Interface::as_raw(self), in_pidevice.into_param().abi()).ok() |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowEvents, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowEvents { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowEvents {} |
| impl ::core::fmt::Debug for ISideShowEvents { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowEvents").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowEvents { |
| type Vtable = ISideShowEvents_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowEvents { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowEvents { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x61feca4c_deb4_4a7e_8d75_51f1132d615b); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowEvents_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| pub ContentMissing: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_contentid: u32, out_ppicontent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| pub ApplicationEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_picapabilities: *mut ::core::ffi::c_void, in_dweventid: u32, in_dweventsize: u32, in_pbeventdata: *const u8) -> ::windows::core::HRESULT, |
| pub DeviceAdded: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_pidevice: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| pub DeviceRemoved: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_pidevice: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowKeyCollection(::windows::core::IUnknown); |
| impl ISideShowKeyCollection { |
| #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub unsafe fn Add(&self, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), key).ok() |
| } |
| pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() |
| } |
| #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub unsafe fn GetAt(&self, dwindex: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), dwindex, pkey).ok() |
| } |
| pub unsafe fn GetCount(&self, pcelems: *const u32) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), pcelems).ok() |
| } |
| pub unsafe fn RemoveAt(&self, dwindex: u32) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).RemoveAt)(::windows::core::Interface::as_raw(self), dwindex).ok() |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowKeyCollection, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowKeyCollection { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowKeyCollection {} |
| impl ::core::fmt::Debug for ISideShowKeyCollection { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowKeyCollection").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowKeyCollection { |
| type Vtable = ISideShowKeyCollection_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowKeyCollection { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowKeyCollection { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x045473bc_a37b_4957_b144_68105411ed8e); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowKeyCollection_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, key: *const super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::HRESULT, |
| #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] |
| Add: usize, |
| pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32, pkey: *mut super::super::UI::Shell::PropertiesSystem::PROPERTYKEY) -> ::windows::core::HRESULT, |
| #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] |
| GetAt: usize, |
| pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcelems: *const u32) -> ::windows::core::HRESULT, |
| pub RemoveAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowNotification(::windows::core::IUnknown); |
| impl ISideShowNotification { |
| pub unsafe fn NotificationId(&self) -> ::windows::core::Result<u32> { |
| let mut result__ = ::windows::core::zeroed::<u32>(); |
| (::windows::core::Interface::vtable(self).NotificationId)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn SetNotificationId(&self, in_notificationid: u32) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).SetNotificationId)(::windows::core::Interface::as_raw(self), in_notificationid).ok() |
| } |
| pub unsafe fn Title(&self) -> ::windows::core::Result<::windows::core::PWSTR> { |
| let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); |
| (::windows::core::Interface::vtable(self).Title)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn SetTitle<P0>(&self, in_pwsztitle: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| (::windows::core::Interface::vtable(self).SetTitle)(::windows::core::Interface::as_raw(self), in_pwsztitle.into_param().abi()).ok() |
| } |
| pub unsafe fn Message(&self) -> ::windows::core::Result<::windows::core::PWSTR> { |
| let mut result__ = ::windows::core::zeroed::<::windows::core::PWSTR>(); |
| (::windows::core::Interface::vtable(self).Message)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| pub unsafe fn SetMessage<P0>(&self, in_pwszmessage: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| (::windows::core::Interface::vtable(self).SetMessage)(::windows::core::Interface::as_raw(self), in_pwszmessage.into_param().abi()).ok() |
| } |
| #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] |
| #[cfg(feature = "Win32_UI_WindowsAndMessaging")] |
| pub unsafe fn Image(&self) -> ::windows::core::Result<super::super::UI::WindowsAndMessaging::HICON> { |
| let mut result__ = ::windows::core::zeroed::<super::super::UI::WindowsAndMessaging::HICON>(); |
| (::windows::core::Interface::vtable(self).Image)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| #[doc = "*Required features: `\"Win32_UI_WindowsAndMessaging\"`*"] |
| #[cfg(feature = "Win32_UI_WindowsAndMessaging")] |
| pub unsafe fn SetImage<P0>(&self, in_hicon: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<super::super::UI::WindowsAndMessaging::HICON>, |
| { |
| (::windows::core::Interface::vtable(self).SetImage)(::windows::core::Interface::as_raw(self), in_hicon.into_param().abi()).ok() |
| } |
| #[doc = "*Required features: `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn ExpirationTime(&self) -> ::windows::core::Result<super::super::Foundation::SYSTEMTIME> { |
| let mut result__ = ::windows::core::zeroed::<super::super::Foundation::SYSTEMTIME>(); |
| (::windows::core::Interface::vtable(self).ExpirationTime)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) |
| } |
| #[doc = "*Required features: `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub unsafe fn SetExpirationTime(&self, in_ptime: ::core::option::Option<*const super::super::Foundation::SYSTEMTIME>) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).SetExpirationTime)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(in_ptime.unwrap_or(::std::ptr::null()))).ok() |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowNotification, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowNotification { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowNotification {} |
| impl ::core::fmt::Debug for ISideShowNotification { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowNotification").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowNotification { |
| type Vtable = ISideShowNotification_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowNotification { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowNotification { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x03c93300_8ab2_41c5_9b79_46127a30e148); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowNotification_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| pub NotificationId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_pnotificationid: *mut u32) -> ::windows::core::HRESULT, |
| pub SetNotificationId: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_notificationid: u32) -> ::windows::core::HRESULT, |
| pub Title: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_ppwsztitle: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, |
| pub SetTitle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_pwsztitle: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, |
| pub Message: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_ppwszmessage: *mut ::windows::core::PWSTR) -> ::windows::core::HRESULT, |
| pub SetMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_pwszmessage: ::windows::core::PCWSTR) -> ::windows::core::HRESULT, |
| #[cfg(feature = "Win32_UI_WindowsAndMessaging")] |
| pub Image: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_phicon: *mut super::super::UI::WindowsAndMessaging::HICON) -> ::windows::core::HRESULT, |
| #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] |
| Image: usize, |
| #[cfg(feature = "Win32_UI_WindowsAndMessaging")] |
| pub SetImage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_hicon: super::super::UI::WindowsAndMessaging::HICON) -> ::windows::core::HRESULT, |
| #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] |
| SetImage: usize, |
| #[cfg(feature = "Win32_Foundation")] |
| pub ExpirationTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, out_ptime: *mut super::super::Foundation::SYSTEMTIME) -> ::windows::core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| ExpirationTime: usize, |
| #[cfg(feature = "Win32_Foundation")] |
| pub SetExpirationTime: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_ptime: *const super::super::Foundation::SYSTEMTIME) -> ::windows::core::HRESULT, |
| #[cfg(not(feature = "Win32_Foundation"))] |
| SetExpirationTime: usize, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowNotificationManager(::windows::core::IUnknown); |
| impl ISideShowNotificationManager { |
| pub unsafe fn Show<P0>(&self, in_pinotification: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<ISideShowNotification>, |
| { |
| (::windows::core::Interface::vtable(self).Show)(::windows::core::Interface::as_raw(self), in_pinotification.into_param().abi()).ok() |
| } |
| pub unsafe fn Revoke(&self, in_notificationid: u32) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).Revoke)(::windows::core::Interface::as_raw(self), in_notificationid).ok() |
| } |
| pub unsafe fn RevokeAll(&self) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).RevokeAll)(::windows::core::Interface::as_raw(self)).ok() |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowNotificationManager, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowNotificationManager { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowNotificationManager {} |
| impl ::core::fmt::Debug for ISideShowNotificationManager { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowNotificationManager").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowNotificationManager { |
| type Vtable = ISideShowNotificationManager_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowNotificationManager { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowNotificationManager { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x63cea909_f2b9_4302_b5e1_c68e6d9ab833); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowNotificationManager_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| pub Show: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_pinotification: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| pub Revoke: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_notificationid: u32) -> ::windows::core::HRESULT, |
| pub RevokeAll: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowPropVariantCollection(::windows::core::IUnknown); |
| impl ISideShowPropVariantCollection { |
| #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] |
| pub unsafe fn Add(&self, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).Add)(::windows::core::Interface::as_raw(self), pvalue).ok() |
| } |
| pub unsafe fn Clear(&self) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).Clear)(::windows::core::Interface::as_raw(self)).ok() |
| } |
| #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] |
| pub unsafe fn GetAt(&self, dwindex: u32, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).GetAt)(::windows::core::Interface::as_raw(self), dwindex, pvalue).ok() |
| } |
| pub unsafe fn GetCount(&self, pcelems: *const u32) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).GetCount)(::windows::core::Interface::as_raw(self), pcelems).ok() |
| } |
| pub unsafe fn RemoveAt(&self, dwindex: u32) -> ::windows::core::Result<()> { |
| (::windows::core::Interface::vtable(self).RemoveAt)(::windows::core::Interface::as_raw(self), dwindex).ok() |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowPropVariantCollection, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowPropVariantCollection { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowPropVariantCollection {} |
| impl ::core::fmt::Debug for ISideShowPropVariantCollection { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowPropVariantCollection").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowPropVariantCollection { |
| type Vtable = ISideShowPropVariantCollection_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowPropVariantCollection { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowPropVariantCollection { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2ea7a549_7bff_4aae_bab0_22d43111de49); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowPropVariantCollection_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] |
| pub Add: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvalue: *const super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, |
| #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] |
| Add: usize, |
| pub Clear: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))] |
| pub GetAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32, pvalue: *mut super::Com::StructuredStorage::PROPVARIANT) -> ::windows::core::HRESULT, |
| #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage")))] |
| GetAt: usize, |
| pub GetCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcelems: *const u32) -> ::windows::core::HRESULT, |
| pub RemoveAt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwindex: u32) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| pub struct ISideShowSession(::windows::core::IUnknown); |
| impl ISideShowSession { |
| pub unsafe fn RegisterContent(&self, in_applicationid: *const ::windows::core::GUID, in_endpointid: *const ::windows::core::GUID) -> ::windows::core::Result<ISideShowContentManager> { |
| let mut result__ = ::windows::core::zeroed::<ISideShowContentManager>(); |
| (::windows::core::Interface::vtable(self).RegisterContent)(::windows::core::Interface::as_raw(self), in_applicationid, in_endpointid, &mut result__).from_abi(result__) |
| } |
| pub unsafe fn RegisterNotifications(&self, in_applicationid: *const ::windows::core::GUID) -> ::windows::core::Result<ISideShowNotificationManager> { |
| let mut result__ = ::windows::core::zeroed::<ISideShowNotificationManager>(); |
| (::windows::core::Interface::vtable(self).RegisterNotifications)(::windows::core::Interface::as_raw(self), in_applicationid, &mut result__).from_abi(result__) |
| } |
| } |
| ::windows::imp::interface_hierarchy!(ISideShowSession, ::windows::core::IUnknown); |
| impl ::core::cmp::PartialEq for ISideShowSession { |
| fn eq(&self, other: &Self) -> bool { |
| self.0 == other.0 |
| } |
| } |
| impl ::core::cmp::Eq for ISideShowSession {} |
| impl ::core::fmt::Debug for ISideShowSession { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ISideShowSession").field(&self.0).finish() |
| } |
| } |
| unsafe impl ::windows::core::Interface for ISideShowSession { |
| type Vtable = ISideShowSession_Vtbl; |
| } |
| impl ::core::clone::Clone for ISideShowSession { |
| fn clone(&self) -> Self { |
| Self(self.0.clone()) |
| } |
| } |
| unsafe impl ::windows::core::ComInterface for ISideShowSession { |
| const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe22331ee_9e7d_4922_9fc2_ab7aa41ce491); |
| } |
| #[repr(C)] |
| #[doc(hidden)] |
| pub struct ISideShowSession_Vtbl { |
| pub base__: ::windows::core::IUnknown_Vtbl, |
| pub RegisterContent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_applicationid: *const ::windows::core::GUID, in_endpointid: *const ::windows::core::GUID, out_ppicontent: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| pub RegisterNotifications: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, in_applicationid: *const ::windows::core::GUID, out_ppinotification: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const CONTENT_ID_GLANCE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const CONTENT_ID_HOME: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const GUID_DEVINTERFACE_SIDESHOW: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x152e5811_feb9_4b00_90f4_d32947ae1681); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_APPLICATION_EVENT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4cb572fa_1d3b_49b3_a17a_2e6bff052854); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_CLIENT_AREA_HEIGHT: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 16 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_CLIENT_AREA_WIDTH: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 15 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_COLOR_DEPTH: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 5 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_COLOR_TYPE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 6 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_CURRENT_LANGUAGE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 9 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_DATA_CACHE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 7 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_DEVICE_ID: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 1 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_CAPABILITY_DEVICE_PROPERTIES: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_SCREEN_HEIGHT: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 4 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_SCREEN_TYPE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 2 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_SCREEN_WIDTH: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 3 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_SUPPORTED_IMAGE_FORMATS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 14 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_SUPPORTED_LANGUAGES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 8 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`*"] |
| #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] |
| pub const SIDESHOW_CAPABILITY_SUPPORTED_THEMES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows::core::GUID::from_u128(0x8abc88a8_857b_4ad7_a35a_b5942f492b99), pid: 10 }; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_CONTENT_MISSING_EVENT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5007fba8_d313_439f_bea2_a50201d3e9a8); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_ENDPOINT_ICAL: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4dff36b5_9dde_4f76_9a2a_96435047063d); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_ENDPOINT_SIMPLE_CONTENT_FORMAT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa9a5353f_2d4b_47ce_93ee_759f3a7dda4f); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_EVENTID_APPLICATION_ENTER: u32 = 4294901760u32; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_EVENTID_APPLICATION_EXIT: u32 = 4294901761u32; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_NEW_EVENT_DATA_AVAILABLE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x57813854_2fc1_411c_a59f_f24927608804); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_USER_CHANGE_REQUEST_EVENT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5009673c_3f7d_4c7e_9971_eaa2e91f1575); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SideShowKeyCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdfbbdbf8_18de_49b8_83dc_ebc727c62d94); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SideShowNotification: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0ce3e86f_d5cd_4525_a766_1abab1a752f5); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SideShowPropVariantCollection: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe640f415_539e_4923_96cd_5f093bc250cd); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SideShowSession: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe20543b9_f785_4ea2_981e_c4ffa76bbc7c); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const VERSION_1_WINDOWS_7: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SCF_BUTTON_IDS(pub i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_MENU: SCF_BUTTON_IDS = SCF_BUTTON_IDS(1i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_SELECT: SCF_BUTTON_IDS = SCF_BUTTON_IDS(2i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_UP: SCF_BUTTON_IDS = SCF_BUTTON_IDS(3i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_DOWN: SCF_BUTTON_IDS = SCF_BUTTON_IDS(4i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_LEFT: SCF_BUTTON_IDS = SCF_BUTTON_IDS(5i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_RIGHT: SCF_BUTTON_IDS = SCF_BUTTON_IDS(6i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_PLAY: SCF_BUTTON_IDS = SCF_BUTTON_IDS(7i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_PAUSE: SCF_BUTTON_IDS = SCF_BUTTON_IDS(8i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_FASTFORWARD: SCF_BUTTON_IDS = SCF_BUTTON_IDS(9i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_REWIND: SCF_BUTTON_IDS = SCF_BUTTON_IDS(10i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_STOP: SCF_BUTTON_IDS = SCF_BUTTON_IDS(11i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_BUTTON_BACK: SCF_BUTTON_IDS = SCF_BUTTON_IDS(65280i32); |
| impl ::core::marker::Copy for SCF_BUTTON_IDS {} |
| impl ::core::clone::Clone for SCF_BUTTON_IDS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SCF_BUTTON_IDS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SCF_BUTTON_IDS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SCF_BUTTON_IDS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SCF_BUTTON_IDS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SCF_EVENT_IDS(pub i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_EVENT_NAVIGATION: SCF_EVENT_IDS = SCF_EVENT_IDS(1i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_EVENT_MENUACTION: SCF_EVENT_IDS = SCF_EVENT_IDS(2i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SCF_EVENT_CONTEXTMENU: SCF_EVENT_IDS = SCF_EVENT_IDS(3i32); |
| impl ::core::marker::Copy for SCF_EVENT_IDS {} |
| impl ::core::clone::Clone for SCF_EVENT_IDS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SCF_EVENT_IDS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SCF_EVENT_IDS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SCF_EVENT_IDS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SCF_EVENT_IDS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SIDESHOW_COLOR_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_COLOR_TYPE_COLOR: SIDESHOW_COLOR_TYPE = SIDESHOW_COLOR_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_COLOR_TYPE_GREYSCALE: SIDESHOW_COLOR_TYPE = SIDESHOW_COLOR_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_COLOR_TYPE_BLACK_AND_WHITE: SIDESHOW_COLOR_TYPE = SIDESHOW_COLOR_TYPE(2i32); |
| impl ::core::marker::Copy for SIDESHOW_COLOR_TYPE {} |
| impl ::core::clone::Clone for SIDESHOW_COLOR_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SIDESHOW_COLOR_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SIDESHOW_COLOR_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SIDESHOW_COLOR_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SIDESHOW_COLOR_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SIDESHOW_SCREEN_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_SCREEN_TYPE_BITMAP: SIDESHOW_SCREEN_TYPE = SIDESHOW_SCREEN_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub const SIDESHOW_SCREEN_TYPE_TEXT: SIDESHOW_SCREEN_TYPE = SIDESHOW_SCREEN_TYPE(1i32); |
| impl ::core::marker::Copy for SIDESHOW_SCREEN_TYPE {} |
| impl ::core::clone::Clone for SIDESHOW_SCREEN_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SIDESHOW_SCREEN_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SIDESHOW_SCREEN_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SIDESHOW_SCREEN_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SIDESHOW_SCREEN_TYPE").field(&self.0).finish() |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct APPLICATION_EVENT_DATA { |
| pub cbApplicationEventData: u32, |
| pub ApplicationId: ::windows::core::GUID, |
| pub EndpointId: ::windows::core::GUID, |
| pub dwEventId: u32, |
| pub cbEventData: u32, |
| pub bEventData: [u8; 1], |
| } |
| impl ::core::marker::Copy for APPLICATION_EVENT_DATA {} |
| impl ::core::clone::Clone for APPLICATION_EVENT_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for APPLICATION_EVENT_DATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for APPLICATION_EVENT_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct CONTENT_MISSING_EVENT_DATA { |
| pub cbContentMissingEventData: u32, |
| pub ApplicationId: ::windows::core::GUID, |
| pub EndpointId: ::windows::core::GUID, |
| pub ContentId: u32, |
| } |
| impl ::core::marker::Copy for CONTENT_MISSING_EVENT_DATA {} |
| impl ::core::clone::Clone for CONTENT_MISSING_EVENT_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for CONTENT_MISSING_EVENT_DATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for CONTENT_MISSING_EVENT_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct DEVICE_USER_CHANGE_EVENT_DATA { |
| pub cbDeviceUserChangeEventData: u32, |
| pub wszUser: u16, |
| } |
| impl ::core::marker::Copy for DEVICE_USER_CHANGE_EVENT_DATA {} |
| impl ::core::clone::Clone for DEVICE_USER_CHANGE_EVENT_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DEVICE_USER_CHANGE_EVENT_DATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DEVICE_USER_CHANGE_EVENT_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct EVENT_DATA_HEADER { |
| pub cbEventDataHeader: u32, |
| pub guidEventType: ::windows::core::GUID, |
| pub dwVersion: u32, |
| pub cbEventDataSid: u32, |
| } |
| impl ::core::marker::Copy for EVENT_DATA_HEADER {} |
| impl ::core::clone::Clone for EVENT_DATA_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for EVENT_DATA_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for EVENT_DATA_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct NEW_EVENT_DATA_AVAILABLE { |
| pub cbNewEventDataAvailable: u32, |
| pub dwVersion: u32, |
| } |
| impl ::core::marker::Copy for NEW_EVENT_DATA_AVAILABLE {} |
| impl ::core::clone::Clone for NEW_EVENT_DATA_AVAILABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for NEW_EVENT_DATA_AVAILABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for NEW_EVENT_DATA_AVAILABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct SCF_CONTEXTMENU_EVENT { |
| pub PreviousPage: u32, |
| pub TargetPage: u32, |
| pub PreviousItemId: u32, |
| pub MenuPage: u32, |
| pub MenuItemId: u32, |
| } |
| impl ::core::marker::Copy for SCF_CONTEXTMENU_EVENT {} |
| impl ::core::clone::Clone for SCF_CONTEXTMENU_EVENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SCF_CONTEXTMENU_EVENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SCF_CONTEXTMENU_EVENT").field("PreviousPage", &self.PreviousPage).field("TargetPage", &self.TargetPage).field("PreviousItemId", &self.PreviousItemId).field("MenuPage", &self.MenuPage).field("MenuItemId", &self.MenuItemId).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SCF_CONTEXTMENU_EVENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SCF_CONTEXTMENU_EVENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.PreviousPage == other.PreviousPage && self.TargetPage == other.TargetPage && self.PreviousItemId == other.PreviousItemId && self.MenuPage == other.MenuPage && self.MenuItemId == other.MenuItemId |
| } |
| } |
| impl ::core::cmp::Eq for SCF_CONTEXTMENU_EVENT {} |
| impl ::core::default::Default for SCF_CONTEXTMENU_EVENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct SCF_EVENT_HEADER { |
| pub PreviousPage: u32, |
| pub TargetPage: u32, |
| } |
| impl ::core::marker::Copy for SCF_EVENT_HEADER {} |
| impl ::core::clone::Clone for SCF_EVENT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SCF_EVENT_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SCF_EVENT_HEADER").field("PreviousPage", &self.PreviousPage).field("TargetPage", &self.TargetPage).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SCF_EVENT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SCF_EVENT_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.PreviousPage == other.PreviousPage && self.TargetPage == other.TargetPage |
| } |
| } |
| impl ::core::cmp::Eq for SCF_EVENT_HEADER {} |
| impl ::core::default::Default for SCF_EVENT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct SCF_MENUACTION_EVENT { |
| pub PreviousPage: u32, |
| pub TargetPage: u32, |
| pub Button: u32, |
| pub ItemId: u32, |
| } |
| impl ::core::marker::Copy for SCF_MENUACTION_EVENT {} |
| impl ::core::clone::Clone for SCF_MENUACTION_EVENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SCF_MENUACTION_EVENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SCF_MENUACTION_EVENT").field("PreviousPage", &self.PreviousPage).field("TargetPage", &self.TargetPage).field("Button", &self.Button).field("ItemId", &self.ItemId).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SCF_MENUACTION_EVENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SCF_MENUACTION_EVENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.PreviousPage == other.PreviousPage && self.TargetPage == other.TargetPage && self.Button == other.Button && self.ItemId == other.ItemId |
| } |
| } |
| impl ::core::cmp::Eq for SCF_MENUACTION_EVENT {} |
| impl ::core::default::Default for SCF_MENUACTION_EVENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_System_SideShow\"`*"] |
| pub struct SCF_NAVIGATION_EVENT { |
| pub PreviousPage: u32, |
| pub TargetPage: u32, |
| pub Button: u32, |
| } |
| impl ::core::marker::Copy for SCF_NAVIGATION_EVENT {} |
| impl ::core::clone::Clone for SCF_NAVIGATION_EVENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SCF_NAVIGATION_EVENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SCF_NAVIGATION_EVENT").field("PreviousPage", &self.PreviousPage).field("TargetPage", &self.TargetPage).field("Button", &self.Button).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SCF_NAVIGATION_EVENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SCF_NAVIGATION_EVENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.PreviousPage == other.PreviousPage && self.TargetPage == other.TargetPage && self.Button == other.Button |
| } |
| } |
| impl ::core::cmp::Eq for SCF_NAVIGATION_EVENT {} |
| impl ::core::default::Default for SCF_NAVIGATION_EVENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[cfg(feature = "implement")] |
| ::core::include!("impl.rs"); |