3 pub struct IAccessoryManager(::windows
::core
::IUnknown
);
4 unsafe impl ::windows
::core
::Interface
for IAccessoryManager
{
5 type Vtable
= IAccessoryManager_Vtbl
;
7 impl ::core
::clone
::Clone
for IAccessoryManager
{
8 fn clone(&self) -> Self {
12 unsafe impl ::windows
::core
::ComInterface
for IAccessoryManager
{
13 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0d04a12c_883d_4aa7_bca7_fa4bb8bffee6);
17 pub struct IAccessoryManager_Vtbl
{
18 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
19 pub RegisterAccessoryApp
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
20 pub GetNextTriggerDetails
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
21 pub ProcessTriggerDetails
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pdetails
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
22 #[cfg(feature = "Foundation_Collections")]
23 pub PhoneLineDetails
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
24 #[cfg(not(feature = "Foundation_Collections"))]
25 PhoneLineDetails
: usize,
26 pub GetPhoneLineDetails
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phoneline
: ::windows
::core
::GUID
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
27 pub AcceptPhoneCall
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32) -> ::windows
::core
::HRESULT
,
28 pub AcceptPhoneCallOnEndpoint
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::HRESULT
,
29 pub AcceptPhoneCallWithVideo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32) -> ::windows
::core
::HRESULT
,
30 pub AcceptPhoneCallWithVideoOnAudioEndpoint
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::HRESULT
,
31 pub RejectPhoneCall
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32) -> ::windows
::core
::HRESULT
,
32 pub RejectPhoneCallWithText
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32, textresponseid
: u32) -> ::windows
::core
::HRESULT
,
33 pub MakePhoneCall
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phoneline
: ::windows
::core
::GUID
, phonenumber
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
34 pub MakePhoneCallOnAudioEndpoint
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phoneline
: ::windows
::core
::GUID
, phonenumber
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::HRESULT
,
35 pub MakePhoneCallWithVideo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phoneline
: ::windows
::core
::GUID
, phonenumber
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
36 pub MakePhoneCallWithVideoOnAudioEndpoint
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phoneline
: ::windows
::core
::GUID
, phonenumber
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::HRESULT
,
37 pub SwapPhoneCalls
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallidtohold
: u32, phonecallidonhold
: u32) -> ::windows
::core
::HRESULT
,
38 pub HoldPhoneCall
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32, holdcall
: bool
) -> ::windows
::core
::HRESULT
,
39 pub EndPhoneCall
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, phonecallid
: u32) -> ::windows
::core
::HRESULT
,
40 pub SetPhoneMute
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: bool
) -> ::windows
::core
::HRESULT
,
41 pub PhoneMute
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
42 pub SetPhoneCallAudioEndpoint
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: PhoneCallAudioEndpoint
) -> ::windows
::core
::HRESULT
,
43 pub PhoneCallAudioEndpoint
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PhoneCallAudioEndpoint
) -> ::windows
::core
::HRESULT
,
44 pub SnoozeAlarm
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, alarmid
: ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
45 #[cfg(feature = "Foundation")]
46 pub SnoozeAlarmForSpecifiedTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, alarmid
: ::windows
::core
::GUID
, timespan
: super::super::super::Foundation
::TimeSpan
) -> ::windows
::core
::HRESULT
,
47 #[cfg(not(feature = "Foundation"))]
48 SnoozeAlarmForSpecifiedTime
: usize,
49 pub DismissAlarm
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, alarmid
: ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
50 pub SnoozeReminder
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reminderid
: ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
51 #[cfg(feature = "Foundation")]
52 pub SnoozeReminderForSpecifiedTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reminderid
: ::windows
::core
::GUID
, timespan
: super::super::super::Foundation
::TimeSpan
) -> ::windows
::core
::HRESULT
,
53 #[cfg(not(feature = "Foundation"))]
54 SnoozeReminderForSpecifiedTime
: usize,
55 pub DismissReminder
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reminderid
: ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
56 pub GetMediaMetadata
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
57 pub MediaPlaybackCapabilities
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PlaybackCapability
) -> ::windows
::core
::HRESULT
,
58 pub MediaPlaybackStatus
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PlaybackStatus
) -> ::windows
::core
::HRESULT
,
59 pub PerformMediaPlaybackCommand
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, command
: PlaybackCommand
) -> ::windows
::core
::HRESULT
,
60 pub DoNotDisturbEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
61 pub DrivingModeEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
62 pub BatterySaverState
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
63 #[cfg(feature = "Foundation_Collections")]
64 pub GetApps
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
65 #[cfg(not(feature = "Foundation_Collections"))]
67 pub EnableNotificationsForApplication
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, appid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
68 pub DisableNotificationsForApplication
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, appid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
69 pub IsNotificationEnabledForApplication
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, appid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
70 pub GetEnabledAccessoryNotificationTypes
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut i32) -> ::windows
::core
::HRESULT
,
71 pub EnableAccessoryNotificationTypes
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, accessorynotificationtypes
: i32) -> ::windows
::core
::HRESULT
,
72 pub DisableAllAccessoryNotificationTypes
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
73 pub GetUserConsent
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
74 #[cfg(feature = "Storage_Streams")]
75 pub GetAppIcon
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, appid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
76 #[cfg(not(feature = "Storage_Streams"))]
81 pub struct IAccessoryManager2(::windows
::core
::IUnknown
);
82 unsafe impl ::windows
::core
::Interface
for IAccessoryManager2
{
83 type Vtable
= IAccessoryManager2_Vtbl
;
85 impl ::core
::clone
::Clone
for IAccessoryManager2
{
86 fn clone(&self) -> Self {
90 unsafe impl ::windows
::core
::ComInterface
for IAccessoryManager2
{
91 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xbacad44d_d393_46c6_b80c_15fdf44d5386);
95 pub struct IAccessoryManager2_Vtbl
{
96 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
97 pub RingDevice
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
98 #[cfg(feature = "Foundation_Collections")]
99 pub SpeedDialList
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
100 #[cfg(not(feature = "Foundation_Collections"))]
101 SpeedDialList
: usize,
102 pub ClearToast
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, instanceid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
103 pub IsPhonePinLocked
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
104 pub IncreaseVolume
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, step
: i32) -> ::windows
::core
::HRESULT
,
105 pub DecreaseVolume
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, step
: i32) -> ::windows
::core
::HRESULT
,
106 pub SetMute
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mute
: bool
) -> ::windows
::core
::HRESULT
,
107 pub SetRingerVibrate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, ringer
: bool
, vibrate
: bool
) -> ::windows
::core
::HRESULT
,
108 pub VolumeInfo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
109 #[cfg(feature = "Foundation_Collections")]
110 pub GetAllEmailAccounts
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
111 #[cfg(not(feature = "Foundation_Collections"))]
112 GetAllEmailAccounts
: usize,
113 #[cfg(feature = "Foundation_Collections")]
114 pub GetFolders
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, emailaccount
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
115 #[cfg(not(feature = "Foundation_Collections"))]
117 pub EnableEmailNotificationEmailAccount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, emailaccount
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
118 pub DisableEmailNotificationEmailAccount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, emailaccount
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
119 #[cfg(feature = "Foundation_Collections")]
120 pub EnableEmailNotificationFolderFilter
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, emailaccount
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>, folders
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
121 #[cfg(not(feature = "Foundation_Collections"))]
122 EnableEmailNotificationFolderFilter
: usize,
123 pub UpdateEmailReadStatus
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, messageentryid
: *mut ::core
::ffi
::c_void
, isread
: bool
) -> ::windows
::core
::HRESULT
,
127 pub struct IAccessoryManager3(::windows
::core
::IUnknown
);
128 unsafe impl ::windows
::core
::Interface
for IAccessoryManager3
{
129 type Vtable
= IAccessoryManager3_Vtbl
;
131 impl ::core
::clone
::Clone
for IAccessoryManager3
{
132 fn clone(&self) -> Self {
136 unsafe impl ::windows
::core
::ComInterface
for IAccessoryManager3
{
137 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x81f75137_edc7_47e0_b2f7_7e577c833f7d);
141 pub struct IAccessoryManager3_Vtbl
{
142 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
143 pub SnoozeAlarmByInstanceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, instanceid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
144 pub DismissAlarmByInstanceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, instanceid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
145 pub SnoozeReminderByInstanceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, instanceid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
146 pub DismissReminderByInstanceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, instanceid
: ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
148 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
150 pub struct IAccessoryNotificationTriggerDetails(::windows
::core
::IUnknown
);
151 impl IAccessoryNotificationTriggerDetails
{
152 #[doc = "*Required features: `\"Foundation\"`*"]
153 #[cfg(feature = "Foundation")]
154 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
157 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
158 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
161 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
164 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
165 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
168 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
171 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
172 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
175 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
178 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
179 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
182 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
185 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
186 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
189 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
191 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
194 ::windows
::imp
::interface_hierarchy
!(IAccessoryNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
195 impl ::core
::cmp
::PartialEq
for IAccessoryNotificationTriggerDetails
{
196 fn eq(&self, other
: &Self) -> bool
{
200 impl ::core
::cmp
::Eq
for IAccessoryNotificationTriggerDetails {}
201 impl ::core
::fmt
::Debug
for IAccessoryNotificationTriggerDetails
{
202 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
203 f
.debug_tuple("IAccessoryNotificationTriggerDetails").field(&self.0).finish()
206 impl ::windows
::core
::RuntimeType
for IAccessoryNotificationTriggerDetails
{
207 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"{6968a7d4-e3ca-49cb-8c87-2c11cdff9646}");
209 unsafe impl ::windows
::core
::Interface
for IAccessoryNotificationTriggerDetails
{
210 type Vtable
= IAccessoryNotificationTriggerDetails_Vtbl
;
212 impl ::core
::clone
::Clone
for IAccessoryNotificationTriggerDetails
{
213 fn clone(&self) -> Self {
217 unsafe impl ::windows
::core
::ComInterface
for IAccessoryNotificationTriggerDetails
{
218 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x6968a7d4_e3ca_49cb_8c87_2c11cdff9646);
222 pub struct IAccessoryNotificationTriggerDetails_Vtbl
{
223 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
224 #[cfg(feature = "Foundation")]
225 pub TimeCreated
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::super::Foundation
::DateTime
) -> ::windows
::core
::HRESULT
,
226 #[cfg(not(feature = "Foundation"))]
228 pub AppDisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
229 pub AppId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
230 pub AccessoryNotificationType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut AccessoryNotificationType
) -> ::windows
::core
::HRESULT
,
231 pub StartedProcessing
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
232 pub SetStartedProcessing
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: bool
) -> ::windows
::core
::HRESULT
,
236 pub struct IAlarmNotificationTriggerDetails(::windows
::core
::IUnknown
);
237 unsafe impl ::windows
::core
::Interface
for IAlarmNotificationTriggerDetails
{
238 type Vtable
= IAlarmNotificationTriggerDetails_Vtbl
;
240 impl ::core
::clone
::Clone
for IAlarmNotificationTriggerDetails
{
241 fn clone(&self) -> Self {
245 unsafe impl ::windows
::core
::ComInterface
for IAlarmNotificationTriggerDetails
{
246 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x38f5fa30_c738_4da2_908c_775d83c36abb);
250 pub struct IAlarmNotificationTriggerDetails_Vtbl
{
251 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
252 pub AlarmId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
253 pub Title
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
254 #[cfg(feature = "Foundation")]
255 pub Timestamp
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::super::Foundation
::DateTime
) -> ::windows
::core
::HRESULT
,
256 #[cfg(not(feature = "Foundation"))]
258 pub ReminderState
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ReminderState
) -> ::windows
::core
::HRESULT
,
262 pub struct IAlarmNotificationTriggerDetails2(::windows
::core
::IUnknown
);
263 unsafe impl ::windows
::core
::Interface
for IAlarmNotificationTriggerDetails2
{
264 type Vtable
= IAlarmNotificationTriggerDetails2_Vtbl
;
266 impl ::core
::clone
::Clone
for IAlarmNotificationTriggerDetails2
{
267 fn clone(&self) -> Self {
271 unsafe impl ::windows
::core
::ComInterface
for IAlarmNotificationTriggerDetails2
{
272 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xcf16e06a_7155_40fe_a9c2_7bd2127ef853);
276 pub struct IAlarmNotificationTriggerDetails2_Vtbl
{
277 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
278 pub InstanceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
282 pub struct IAppNotificationInfo(::windows
::core
::IUnknown
);
283 unsafe impl ::windows
::core
::Interface
for IAppNotificationInfo
{
284 type Vtable
= IAppNotificationInfo_Vtbl
;
286 impl ::core
::clone
::Clone
for IAppNotificationInfo
{
287 fn clone(&self) -> Self {
291 unsafe impl ::windows
::core
::ComInterface
for IAppNotificationInfo
{
292 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x2157bea5_e286_45d3_9bea_f790fc216e0e);
296 pub struct IAppNotificationInfo_Vtbl
{
297 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
298 pub Id
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
299 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
303 pub struct IBinaryId(::windows
::core
::IUnknown
);
304 unsafe impl ::windows
::core
::Interface
for IBinaryId
{
305 type Vtable
= IBinaryId_Vtbl
;
307 impl ::core
::clone
::Clone
for IBinaryId
{
308 fn clone(&self) -> Self {
312 unsafe impl ::windows
::core
::ComInterface
for IBinaryId
{
313 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4f0da531_5595_44b4_9181_ce4efa3fc168);
317 pub struct IBinaryId_Vtbl
{
318 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
319 pub Id
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u8) -> ::windows
::core
::HRESULT
,
320 pub Length
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
324 pub struct ICalendarChangedNotificationTriggerDetails(::windows
::core
::IUnknown
);
325 unsafe impl ::windows
::core
::Interface
for ICalendarChangedNotificationTriggerDetails
{
326 type Vtable
= ICalendarChangedNotificationTriggerDetails_Vtbl
;
328 impl ::core
::clone
::Clone
for ICalendarChangedNotificationTriggerDetails
{
329 fn clone(&self) -> Self {
333 unsafe impl ::windows
::core
::ComInterface
for ICalendarChangedNotificationTriggerDetails
{
334 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4b8a3bfc_279d_42ab_9c68_3e87977bf216);
338 pub struct ICalendarChangedNotificationTriggerDetails_Vtbl
{
339 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
340 pub EventType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut CalendarChangedEvent
) -> ::windows
::core
::HRESULT
,
341 pub ItemId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
345 pub struct ICortanaTileNotificationTriggerDetails(::windows
::core
::IUnknown
);
346 unsafe impl ::windows
::core
::Interface
for ICortanaTileNotificationTriggerDetails
{
347 type Vtable
= ICortanaTileNotificationTriggerDetails_Vtbl
;
349 impl ::core
::clone
::Clone
for ICortanaTileNotificationTriggerDetails
{
350 fn clone(&self) -> Self {
354 unsafe impl ::windows
::core
::ComInterface
for ICortanaTileNotificationTriggerDetails
{
355 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xdc0f01d5_1489_46bb_b73b_7f90067ecf27);
359 pub struct ICortanaTileNotificationTriggerDetails_Vtbl
{
360 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
361 pub TileId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
362 pub Content
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
363 pub LargeContent1
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
364 pub LargeContent2
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
365 pub EmphasizedText
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
366 pub NonWrappedSmallContent1
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
367 pub NonWrappedSmallContent2
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
368 pub NonWrappedSmallContent3
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
369 pub NonWrappedSmallContent4
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
370 pub Source
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
374 pub struct IEmailAccountInfo(::windows
::core
::IUnknown
);
375 unsafe impl ::windows
::core
::Interface
for IEmailAccountInfo
{
376 type Vtable
= IEmailAccountInfo_Vtbl
;
378 impl ::core
::clone
::Clone
for IEmailAccountInfo
{
379 fn clone(&self) -> Self {
383 unsafe impl ::windows
::core
::ComInterface
for IEmailAccountInfo
{
384 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xdfbc02ab_bda0_4568_927e_b2ede35818a1);
388 pub struct IEmailAccountInfo_Vtbl
{
389 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
390 pub DisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
391 pub IsNotificationEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
395 pub struct IEmailFolderInfo(::windows
::core
::IUnknown
);
396 unsafe impl ::windows
::core
::Interface
for IEmailFolderInfo
{
397 type Vtable
= IEmailFolderInfo_Vtbl
;
399 impl ::core
::clone
::Clone
for IEmailFolderInfo
{
400 fn clone(&self) -> Self {
404 unsafe impl ::windows
::core
::ComInterface
for IEmailFolderInfo
{
405 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xc207150e_e237_46d6_90e6_4f529eeac1e2);
409 pub struct IEmailFolderInfo_Vtbl
{
410 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
411 pub DisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
412 pub IsNotificationEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
416 pub struct IEmailNotificationTriggerDetails(::windows
::core
::IUnknown
);
417 unsafe impl ::windows
::core
::Interface
for IEmailNotificationTriggerDetails
{
418 type Vtable
= IEmailNotificationTriggerDetails_Vtbl
;
420 impl ::core
::clone
::Clone
for IEmailNotificationTriggerDetails
{
421 fn clone(&self) -> Self {
425 unsafe impl ::windows
::core
::ComInterface
for IEmailNotificationTriggerDetails
{
426 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf3b82612_46cf_4e70_8e0d_7b2e04ab492b);
430 pub struct IEmailNotificationTriggerDetails_Vtbl
{
431 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
432 pub AccountName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
433 pub ParentFolderName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
434 pub SenderName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
435 pub SenderAddress
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
436 #[cfg(feature = "ApplicationModel_Email")]
437 pub EmailMessage
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
438 #[cfg(not(feature = "ApplicationModel_Email"))]
440 #[cfg(feature = "Foundation")]
441 pub Timestamp
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::super::Foundation
::DateTime
) -> ::windows
::core
::HRESULT
,
442 #[cfg(not(feature = "Foundation"))]
447 pub struct IEmailNotificationTriggerDetails2(::windows
::core
::IUnknown
);
448 unsafe impl ::windows
::core
::Interface
for IEmailNotificationTriggerDetails2
{
449 type Vtable
= IEmailNotificationTriggerDetails2_Vtbl
;
451 impl ::core
::clone
::Clone
for IEmailNotificationTriggerDetails2
{
452 fn clone(&self) -> Self {
456 unsafe impl ::windows
::core
::ComInterface
for IEmailNotificationTriggerDetails2
{
457 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x168067e3_c56f_4ec7_bed1_f734e08de5b2);
461 pub struct IEmailNotificationTriggerDetails2_Vtbl
{
462 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
463 pub MessageEntryId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
467 pub struct IEmailReadNotificationTriggerDetails(::windows
::core
::IUnknown
);
468 unsafe impl ::windows
::core
::Interface
for IEmailReadNotificationTriggerDetails
{
469 type Vtable
= IEmailReadNotificationTriggerDetails_Vtbl
;
471 impl ::core
::clone
::Clone
for IEmailReadNotificationTriggerDetails
{
472 fn clone(&self) -> Self {
476 unsafe impl ::windows
::core
::ComInterface
for IEmailReadNotificationTriggerDetails
{
477 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf5b7a087_06f3_4e3e_8c42_325e67010413);
481 pub struct IEmailReadNotificationTriggerDetails_Vtbl
{
482 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
483 pub AccountName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
484 pub ParentFolderName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
485 pub MessageEntryId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
486 pub IsRead
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
490 pub struct IMediaControlsTriggerDetails(::windows
::core
::IUnknown
);
491 unsafe impl ::windows
::core
::Interface
for IMediaControlsTriggerDetails
{
492 type Vtable
= IMediaControlsTriggerDetails_Vtbl
;
494 impl ::core
::clone
::Clone
for IMediaControlsTriggerDetails
{
495 fn clone(&self) -> Self {
499 unsafe impl ::windows
::core
::ComInterface
for IMediaControlsTriggerDetails
{
500 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xfab4648b_ae45_4548_91ca_4ab0548e33b5);
504 pub struct IMediaControlsTriggerDetails_Vtbl
{
505 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
506 pub PlaybackStatus
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PlaybackStatus
) -> ::windows
::core
::HRESULT
,
507 pub MediaMetadata
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
511 pub struct IMediaMetadata(::windows
::core
::IUnknown
);
512 unsafe impl ::windows
::core
::Interface
for IMediaMetadata
{
513 type Vtable
= IMediaMetadata_Vtbl
;
515 impl ::core
::clone
::Clone
for IMediaMetadata
{
516 fn clone(&self) -> Self {
520 unsafe impl ::windows
::core
::ComInterface
for IMediaMetadata
{
521 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x9b50ddf7_bb6c_4330_b3cd_0704a54cdb80);
525 pub struct IMediaMetadata_Vtbl
{
526 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
527 pub Title
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
528 pub Subtitle
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
529 pub Artist
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
530 pub Album
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
531 pub Track
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
532 #[cfg(feature = "Foundation")]
533 pub Duration
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::super::Foundation
::TimeSpan
) -> ::windows
::core
::HRESULT
,
534 #[cfg(not(feature = "Foundation"))]
536 #[cfg(feature = "Storage_Streams")]
537 pub Thumbnail
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
538 #[cfg(not(feature = "Storage_Streams"))]
543 pub struct IPhoneCallDetails(::windows
::core
::IUnknown
);
544 unsafe impl ::windows
::core
::Interface
for IPhoneCallDetails
{
545 type Vtable
= IPhoneCallDetails_Vtbl
;
547 impl ::core
::clone
::Clone
for IPhoneCallDetails
{
548 fn clone(&self) -> Self {
552 unsafe impl ::windows
::core
::ComInterface
for IPhoneCallDetails
{
553 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0c1b6f53_f071_483e_bf33_ebd44b724447);
557 pub struct IPhoneCallDetails_Vtbl
{
558 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
559 pub PhoneLine
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
560 pub CallId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
561 pub CallTransport
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PhoneCallTransport
) -> ::windows
::core
::HRESULT
,
562 pub CallMediaType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PhoneMediaType
) -> ::windows
::core
::HRESULT
,
563 pub CallDirection
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PhoneCallDirection
) -> ::windows
::core
::HRESULT
,
564 pub State
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PhoneCallState
) -> ::windows
::core
::HRESULT
,
565 pub ConferenceCallId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
566 #[cfg(feature = "Foundation")]
567 pub StartTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::super::Foundation
::DateTime
) -> ::windows
::core
::HRESULT
,
568 #[cfg(not(feature = "Foundation"))]
570 #[cfg(feature = "Foundation")]
571 pub EndTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::super::Foundation
::DateTime
) -> ::windows
::core
::HRESULT
,
572 #[cfg(not(feature = "Foundation"))]
574 pub PhoneNumber
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
575 pub ContactName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
576 #[cfg(feature = "Foundation_Collections")]
577 pub PresetTextResponses
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
578 #[cfg(not(feature = "Foundation_Collections"))]
579 PresetTextResponses
: usize,
583 pub struct IPhoneLineDetails(::windows
::core
::IUnknown
);
584 unsafe impl ::windows
::core
::Interface
for IPhoneLineDetails
{
585 type Vtable
= IPhoneLineDetails_Vtbl
;
587 impl ::core
::clone
::Clone
for IPhoneLineDetails
{
588 fn clone(&self) -> Self {
592 unsafe impl ::windows
::core
::ComInterface
for IPhoneLineDetails
{
593 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x47eb32dc_33ed_49b9_995c_a296bac82b77);
597 pub struct IPhoneLineDetails_Vtbl
{
598 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
599 pub LineId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
600 pub DisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
601 pub LineNumber
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
602 pub DefaultOutgoingLine
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
603 pub VoicemailCount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
604 pub RegistrationState
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PhoneLineRegistrationState
) -> ::windows
::core
::HRESULT
,
608 pub struct IPhoneLineDetails2(::windows
::core
::IUnknown
);
609 unsafe impl ::windows
::core
::Interface
for IPhoneLineDetails2
{
610 type Vtable
= IPhoneLineDetails2_Vtbl
;
612 impl ::core
::clone
::Clone
for IPhoneLineDetails2
{
613 fn clone(&self) -> Self {
617 unsafe impl ::windows
::core
::ComInterface
for IPhoneLineDetails2
{
618 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xb30cd77d_0147_498c_8241_bf0cabc60a25);
622 pub struct IPhoneLineDetails2_Vtbl
{
623 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
624 pub MissedCallCount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
628 pub struct IPhoneNotificationTriggerDetails(::windows
::core
::IUnknown
);
629 unsafe impl ::windows
::core
::Interface
for IPhoneNotificationTriggerDetails
{
630 type Vtable
= IPhoneNotificationTriggerDetails_Vtbl
;
632 impl ::core
::clone
::Clone
for IPhoneNotificationTriggerDetails
{
633 fn clone(&self) -> Self {
637 unsafe impl ::windows
::core
::ComInterface
for IPhoneNotificationTriggerDetails
{
638 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xccc2fdf7_09c3_4118_91bc_ca6323a8d383);
642 pub struct IPhoneNotificationTriggerDetails_Vtbl
{
643 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
644 pub PhoneNotificationType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut PhoneNotificationType
) -> ::windows
::core
::HRESULT
,
645 pub CallDetails
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
646 pub PhoneLineChangedId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
650 pub struct IReminderNotificationTriggerDetails(::windows
::core
::IUnknown
);
651 unsafe impl ::windows
::core
::Interface
for IReminderNotificationTriggerDetails
{
652 type Vtable
= IReminderNotificationTriggerDetails_Vtbl
;
654 impl ::core
::clone
::Clone
for IReminderNotificationTriggerDetails
{
655 fn clone(&self) -> Self {
659 unsafe impl ::windows
::core
::ComInterface
for IReminderNotificationTriggerDetails
{
660 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x5bddaa5d_9f61_4bf0_9feb_10502bc0b0c2);
664 pub struct IReminderNotificationTriggerDetails_Vtbl
{
665 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
666 pub ReminderId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
667 pub Title
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
668 pub Description
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
669 pub Details
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
670 #[cfg(feature = "Foundation")]
671 pub Timestamp
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut super::super::super::Foundation
::DateTime
) -> ::windows
::core
::HRESULT
,
672 #[cfg(not(feature = "Foundation"))]
674 #[cfg(feature = "ApplicationModel_Appointments")]
675 pub Appointment
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
676 #[cfg(not(feature = "ApplicationModel_Appointments"))]
678 pub ReminderState
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ReminderState
) -> ::windows
::core
::HRESULT
,
682 pub struct IReminderNotificationTriggerDetails2(::windows
::core
::IUnknown
);
683 unsafe impl ::windows
::core
::Interface
for IReminderNotificationTriggerDetails2
{
684 type Vtable
= IReminderNotificationTriggerDetails2_Vtbl
;
686 impl ::core
::clone
::Clone
for IReminderNotificationTriggerDetails2
{
687 fn clone(&self) -> Self {
691 unsafe impl ::windows
::core
::ComInterface
for IReminderNotificationTriggerDetails2
{
692 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe715f9c0_504d_4c0f_a6b3_bcb9722c6cdd);
696 pub struct IReminderNotificationTriggerDetails2_Vtbl
{
697 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
698 pub InstanceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
702 pub struct ISpeedDialEntry(::windows
::core
::IUnknown
);
703 unsafe impl ::windows
::core
::Interface
for ISpeedDialEntry
{
704 type Vtable
= ISpeedDialEntry_Vtbl
;
706 impl ::core
::clone
::Clone
for ISpeedDialEntry
{
707 fn clone(&self) -> Self {
711 unsafe impl ::windows
::core
::ComInterface
for ISpeedDialEntry
{
712 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x9240b6db_872c_46dc_b62a_be4541b166f8);
716 pub struct ISpeedDialEntry_Vtbl
{
717 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
718 pub PhoneNumber
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
719 pub NumberType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
720 pub ContactName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
724 pub struct ITextResponse(::windows
::core
::IUnknown
);
725 unsafe impl ::windows
::core
::Interface
for ITextResponse
{
726 type Vtable
= ITextResponse_Vtbl
;
728 impl ::core
::clone
::Clone
for ITextResponse
{
729 fn clone(&self) -> Self {
733 unsafe impl ::windows
::core
::ComInterface
for ITextResponse
{
734 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe9cb74c3_2457_4cdb_8110_72f5e8e883e8);
738 pub struct ITextResponse_Vtbl
{
739 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
740 pub Id
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
741 pub Content
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
745 pub struct IToastNotificationTriggerDetails(::windows
::core
::IUnknown
);
746 unsafe impl ::windows
::core
::Interface
for IToastNotificationTriggerDetails
{
747 type Vtable
= IToastNotificationTriggerDetails_Vtbl
;
749 impl ::core
::clone
::Clone
for IToastNotificationTriggerDetails
{
750 fn clone(&self) -> Self {
754 unsafe impl ::windows
::core
::ComInterface
for IToastNotificationTriggerDetails
{
755 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xc9314895_4e6d_4e9d_afec_9e921b875ae8);
759 pub struct IToastNotificationTriggerDetails_Vtbl
{
760 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
761 pub Text1
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
762 pub Text2
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
763 pub Text3
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
764 pub Text4
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
765 pub SuppressPopup
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
769 pub struct IToastNotificationTriggerDetails2(::windows
::core
::IUnknown
);
770 unsafe impl ::windows
::core
::Interface
for IToastNotificationTriggerDetails2
{
771 type Vtable
= IToastNotificationTriggerDetails2_Vtbl
;
773 impl ::core
::clone
::Clone
for IToastNotificationTriggerDetails2
{
774 fn clone(&self) -> Self {
778 unsafe impl ::windows
::core
::ComInterface
for IToastNotificationTriggerDetails2
{
779 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x3e0479dd_cac4_4f60_afa3_b925d9d83c93);
783 pub struct IToastNotificationTriggerDetails2_Vtbl
{
784 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
785 pub InstanceId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::HSTRING
>) -> ::windows
::core
::HRESULT
,
789 pub struct IVolumeInfo(::windows
::core
::IUnknown
);
790 unsafe impl ::windows
::core
::Interface
for IVolumeInfo
{
791 type Vtable
= IVolumeInfo_Vtbl
;
793 impl ::core
::clone
::Clone
for IVolumeInfo
{
794 fn clone(&self) -> Self {
798 unsafe impl ::windows
::core
::ComInterface
for IVolumeInfo
{
799 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x944dd118_7704_4481_b92e_d3ed3ece6322);
803 pub struct IVolumeInfo_Vtbl
{
804 pub base__
: ::windows
::core
::IInspectable_Vtbl
,
805 pub SystemVolume
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
806 pub CallVolume
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
807 pub MediaVolume
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut u32) -> ::windows
::core
::HRESULT
,
808 pub IsMuted
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut bool
) -> ::windows
::core
::HRESULT
,
809 pub IsVibrateEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, result__
: *mut VibrateState
) -> ::windows
::core
::HRESULT
,
811 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
812 pub struct AccessoryManager
;
813 impl AccessoryManager
{
814 pub fn RegisterAccessoryApp() -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
815 Self::IAccessoryManager(|this
| unsafe {
816 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
817 (::windows
::core
::Interface
::vtable(this
).RegisterAccessoryApp
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
820 pub fn GetNextTriggerDetails() -> ::windows
::core
::Result
<IAccessoryNotificationTriggerDetails
> {
821 Self::IAccessoryManager(|this
| unsafe {
822 let mut result__
= ::windows
::core
::zeroed
::<IAccessoryNotificationTriggerDetails
>();
823 (::windows
::core
::Interface
::vtable(this
).GetNextTriggerDetails
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
826 pub fn ProcessTriggerDetails
<P0
>(pdetails
: P0
) -> ::windows
::core
::Result
<()>
828 P0
: ::windows
::core
::TryIntoParam
<IAccessoryNotificationTriggerDetails
>,
830 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).ProcessTriggerDetails)(::windows::core::Interface::as_raw(this), pdetails.try_into_param()?.abi()).ok() }
)
832 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
833 #[cfg(feature = "Foundation_Collections")]
834 pub fn PhoneLineDetails() -> ::windows
::core
::Result
<super::super::super::Foundation
::Collections
::IVectorView
<PhoneLineDetails
>> {
835 Self::IAccessoryManager(|this
| unsafe {
836 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::Collections
::IVectorView
<PhoneLineDetails
>>();
837 (::windows
::core
::Interface
::vtable(this
).PhoneLineDetails
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
840 pub fn GetPhoneLineDetails(phoneline
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<PhoneLineDetails
> {
841 Self::IAccessoryManager(|this
| unsafe {
842 let mut result__
= ::windows
::core
::zeroed
::<PhoneLineDetails
>();
843 (::windows
::core
::Interface
::vtable(this
).GetPhoneLineDetails
)(::windows
::core
::Interface
::as_raw(this
), phoneline
, &mut result__
).from_abi(result__
)
846 pub fn AcceptPhoneCall(phonecallid
: u32) -> ::windows
::core
::Result
<()> {
847 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).AcceptPhoneCall)(::windows::core::Interface::as_raw(this), phonecallid).ok() }
)
849 pub fn AcceptPhoneCallOnEndpoint(phonecallid
: u32, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::Result
<()> {
850 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).AcceptPhoneCallOnEndpoint)(::windows::core::Interface::as_raw(this), phonecallid, endpoint).ok() }
)
852 pub fn AcceptPhoneCallWithVideo(phonecallid
: u32) -> ::windows
::core
::Result
<()> {
853 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).AcceptPhoneCallWithVideo)(::windows::core::Interface::as_raw(this), phonecallid).ok() }
)
855 pub fn AcceptPhoneCallWithVideoOnAudioEndpoint(phonecallid
: u32, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::Result
<()> {
856 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).AcceptPhoneCallWithVideoOnAudioEndpoint)(::windows::core::Interface::as_raw(this), phonecallid, endpoint).ok() }
)
858 pub fn RejectPhoneCall(phonecallid
: u32) -> ::windows
::core
::Result
<()> {
859 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).RejectPhoneCall)(::windows::core::Interface::as_raw(this), phonecallid).ok() }
)
861 pub fn RejectPhoneCallWithText(phonecallid
: u32, textresponseid
: u32) -> ::windows
::core
::Result
<()> {
862 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).RejectPhoneCallWithText)(::windows::core::Interface::as_raw(this), phonecallid, textresponseid).ok() }
)
864 pub fn MakePhoneCall(phoneline
: ::windows
::core
::GUID
, phonenumber
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
865 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).MakePhoneCall)(::windows::core::Interface::as_raw(this), phoneline, ::core::mem::transmute_copy(phonenumber)).ok() }
)
867 pub fn MakePhoneCallOnAudioEndpoint(phoneline
: ::windows
::core
::GUID
, phonenumber
: &::windows
::core
::HSTRING
, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::Result
<()> {
868 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).MakePhoneCallOnAudioEndpoint)(::windows::core::Interface::as_raw(this), phoneline, ::core::mem::transmute_copy(phonenumber), endpoint).ok() }
)
870 pub fn MakePhoneCallWithVideo(phoneline
: ::windows
::core
::GUID
, phonenumber
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
871 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).MakePhoneCallWithVideo)(::windows::core::Interface::as_raw(this), phoneline, ::core::mem::transmute_copy(phonenumber)).ok() }
)
873 pub fn MakePhoneCallWithVideoOnAudioEndpoint(phoneline
: ::windows
::core
::GUID
, phonenumber
: &::windows
::core
::HSTRING
, endpoint
: PhoneCallAudioEndpoint
) -> ::windows
::core
::Result
<()> {
874 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).MakePhoneCallWithVideoOnAudioEndpoint)(::windows::core::Interface::as_raw(this), phoneline, ::core::mem::transmute_copy(phonenumber), endpoint).ok() }
)
876 pub fn SwapPhoneCalls(phonecallidtohold
: u32, phonecallidonhold
: u32) -> ::windows
::core
::Result
<()> {
877 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).SwapPhoneCalls)(::windows::core::Interface::as_raw(this), phonecallidtohold, phonecallidonhold).ok() }
)
879 pub fn HoldPhoneCall(phonecallid
: u32, holdcall
: bool
) -> ::windows
::core
::Result
<()> {
880 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).HoldPhoneCall)(::windows::core::Interface::as_raw(this), phonecallid, holdcall).ok() }
)
882 pub fn EndPhoneCall(phonecallid
: u32) -> ::windows
::core
::Result
<()> {
883 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).EndPhoneCall)(::windows::core::Interface::as_raw(this), phonecallid).ok() }
)
885 pub fn SetPhoneMute(value
: bool
) -> ::windows
::core
::Result
<()> {
886 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).SetPhoneMute)(::windows::core::Interface::as_raw(this), value).ok() }
)
888 pub fn PhoneMute() -> ::windows
::core
::Result
<bool
> {
889 Self::IAccessoryManager(|this
| unsafe {
890 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
891 (::windows
::core
::Interface
::vtable(this
).PhoneMute
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
894 pub fn SetPhoneCallAudioEndpoint(value
: PhoneCallAudioEndpoint
) -> ::windows
::core
::Result
<()> {
895 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).SetPhoneCallAudioEndpoint)(::windows::core::Interface::as_raw(this), value).ok() }
)
897 pub fn PhoneCallAudioEndpoint() -> ::windows
::core
::Result
<PhoneCallAudioEndpoint
> {
898 Self::IAccessoryManager(|this
| unsafe {
899 let mut result__
= ::windows
::core
::zeroed
::<PhoneCallAudioEndpoint
>();
900 (::windows
::core
::Interface
::vtable(this
).PhoneCallAudioEndpoint
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
903 pub fn SnoozeAlarm(alarmid
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()> {
904 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).SnoozeAlarm)(::windows::core::Interface::as_raw(this), alarmid).ok() }
)
906 #[doc = "*Required features: `\"Foundation\"`*"]
907 #[cfg(feature = "Foundation")]
908 pub fn SnoozeAlarmForSpecifiedTime(alarmid
: ::windows
::core
::GUID
, timespan
: super::super::super::Foundation
::TimeSpan
) -> ::windows
::core
::Result
<()> {
909 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).SnoozeAlarmForSpecifiedTime)(::windows::core::Interface::as_raw(this), alarmid, timespan).ok() }
)
911 pub fn DismissAlarm(alarmid
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()> {
912 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).DismissAlarm)(::windows::core::Interface::as_raw(this), alarmid).ok() }
)
914 pub fn SnoozeReminder(reminderid
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()> {
915 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).SnoozeReminder)(::windows::core::Interface::as_raw(this), reminderid).ok() }
)
917 #[doc = "*Required features: `\"Foundation\"`*"]
918 #[cfg(feature = "Foundation")]
919 pub fn SnoozeReminderForSpecifiedTime(reminderid
: ::windows
::core
::GUID
, timespan
: super::super::super::Foundation
::TimeSpan
) -> ::windows
::core
::Result
<()> {
920 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).SnoozeReminderForSpecifiedTime)(::windows::core::Interface::as_raw(this), reminderid, timespan).ok() }
)
922 pub fn DismissReminder(reminderid
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()> {
923 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).DismissReminder)(::windows::core::Interface::as_raw(this), reminderid).ok() }
)
925 pub fn GetMediaMetadata() -> ::windows
::core
::Result
<MediaMetadata
> {
926 Self::IAccessoryManager(|this
| unsafe {
927 let mut result__
= ::windows
::core
::zeroed
::<MediaMetadata
>();
928 (::windows
::core
::Interface
::vtable(this
).GetMediaMetadata
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
931 pub fn MediaPlaybackCapabilities() -> ::windows
::core
::Result
<PlaybackCapability
> {
932 Self::IAccessoryManager(|this
| unsafe {
933 let mut result__
= ::windows
::core
::zeroed
::<PlaybackCapability
>();
934 (::windows
::core
::Interface
::vtable(this
).MediaPlaybackCapabilities
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
937 pub fn MediaPlaybackStatus() -> ::windows
::core
::Result
<PlaybackStatus
> {
938 Self::IAccessoryManager(|this
| unsafe {
939 let mut result__
= ::windows
::core
::zeroed
::<PlaybackStatus
>();
940 (::windows
::core
::Interface
::vtable(this
).MediaPlaybackStatus
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
943 pub fn PerformMediaPlaybackCommand(command
: PlaybackCommand
) -> ::windows
::core
::Result
<()> {
944 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).PerformMediaPlaybackCommand)(::windows::core::Interface::as_raw(this), command).ok() }
)
946 pub fn DoNotDisturbEnabled() -> ::windows
::core
::Result
<bool
> {
947 Self::IAccessoryManager(|this
| unsafe {
948 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
949 (::windows
::core
::Interface
::vtable(this
).DoNotDisturbEnabled
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
952 pub fn DrivingModeEnabled() -> ::windows
::core
::Result
<bool
> {
953 Self::IAccessoryManager(|this
| unsafe {
954 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
955 (::windows
::core
::Interface
::vtable(this
).DrivingModeEnabled
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
958 pub fn BatterySaverState() -> ::windows
::core
::Result
<bool
> {
959 Self::IAccessoryManager(|this
| unsafe {
960 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
961 (::windows
::core
::Interface
::vtable(this
).BatterySaverState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
964 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
965 #[cfg(feature = "Foundation_Collections")]
966 pub fn GetApps() -> ::windows
::core
::Result
<super::super::super::Foundation
::Collections
::IMapView
<::windows
::core
::HSTRING
, AppNotificationInfo
>> {
967 Self::IAccessoryManager(|this
| unsafe {
968 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::Collections
::IMapView
<::windows
::core
::HSTRING
, AppNotificationInfo
>>();
969 (::windows
::core
::Interface
::vtable(this
).GetApps
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
972 pub fn EnableNotificationsForApplication(appid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
973 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).EnableNotificationsForApplication)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(appid)).ok() }
)
975 pub fn DisableNotificationsForApplication(appid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
976 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).DisableNotificationsForApplication)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(appid)).ok() }
)
978 pub fn IsNotificationEnabledForApplication(appid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<bool
> {
979 Self::IAccessoryManager(|this
| unsafe {
980 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
981 (::windows
::core
::Interface
::vtable(this
).IsNotificationEnabledForApplication
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(appid
), &mut result__
).from_abi(result__
)
984 pub fn GetEnabledAccessoryNotificationTypes() -> ::windows
::core
::Result
<i32> {
985 Self::IAccessoryManager(|this
| unsafe {
986 let mut result__
= ::windows
::core
::zeroed
::<i32>();
987 (::windows
::core
::Interface
::vtable(this
).GetEnabledAccessoryNotificationTypes
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
990 pub fn EnableAccessoryNotificationTypes(accessorynotificationtypes
: i32) -> ::windows
::core
::Result
<()> {
991 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).EnableAccessoryNotificationTypes)(::windows::core::Interface::as_raw(this), accessorynotificationtypes).ok() }
)
993 pub fn DisableAllAccessoryNotificationTypes() -> ::windows
::core
::Result
<()> {
994 Self::IAccessoryManager(|this
| unsafe { (::windows::core::Interface::vtable(this).DisableAllAccessoryNotificationTypes)(::windows::core::Interface::as_raw(this)).ok() }
)
996 pub fn GetUserConsent() -> ::windows
::core
::Result
<bool
> {
997 Self::IAccessoryManager(|this
| unsafe {
998 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
999 (::windows
::core
::Interface
::vtable(this
).GetUserConsent
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1002 #[doc = "*Required features: `\"Storage_Streams\"`*"]
1003 #[cfg(feature = "Storage_Streams")]
1004 pub fn GetAppIcon(appid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<super::super::super::Storage
::Streams
::IRandomAccessStreamReference
> {
1005 Self::IAccessoryManager(|this
| unsafe {
1006 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Storage
::Streams
::IRandomAccessStreamReference
>();
1007 (::windows
::core
::Interface
::vtable(this
).GetAppIcon
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(appid
), &mut result__
).from_abi(result__
)
1010 pub fn RingDevice() -> ::windows
::core
::Result
<()> {
1011 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).RingDevice)(::windows::core::Interface::as_raw(this)).ok() }
)
1013 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
1014 #[cfg(feature = "Foundation_Collections")]
1015 pub fn SpeedDialList() -> ::windows
::core
::Result
<super::super::super::Foundation
::Collections
::IVectorView
<SpeedDialEntry
>> {
1016 Self::IAccessoryManager2(|this
| unsafe {
1017 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::Collections
::IVectorView
<SpeedDialEntry
>>();
1018 (::windows
::core
::Interface
::vtable(this
).SpeedDialList
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1021 pub fn ClearToast(instanceid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
1022 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).ClearToast)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(instanceid)).ok() }
)
1024 pub fn IsPhonePinLocked() -> ::windows
::core
::Result
<bool
> {
1025 Self::IAccessoryManager2(|this
| unsafe {
1026 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1027 (::windows
::core
::Interface
::vtable(this
).IsPhonePinLocked
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1030 pub fn IncreaseVolume(step
: i32) -> ::windows
::core
::Result
<()> {
1031 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).IncreaseVolume)(::windows::core::Interface::as_raw(this), step).ok() }
)
1033 pub fn DecreaseVolume(step
: i32) -> ::windows
::core
::Result
<()> {
1034 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).DecreaseVolume)(::windows::core::Interface::as_raw(this), step).ok() }
)
1036 pub fn SetMute(mute
: bool
) -> ::windows
::core
::Result
<()> {
1037 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).SetMute)(::windows::core::Interface::as_raw(this), mute).ok() }
)
1039 pub fn SetRingerVibrate(ringer
: bool
, vibrate
: bool
) -> ::windows
::core
::Result
<()> {
1040 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).SetRingerVibrate)(::windows::core::Interface::as_raw(this), ringer, vibrate).ok() }
)
1042 pub fn VolumeInfo() -> ::windows
::core
::Result
<VolumeInfo
> {
1043 Self::IAccessoryManager2(|this
| unsafe {
1044 let mut result__
= ::windows
::core
::zeroed
::<VolumeInfo
>();
1045 (::windows
::core
::Interface
::vtable(this
).VolumeInfo
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1048 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
1049 #[cfg(feature = "Foundation_Collections")]
1050 pub fn GetAllEmailAccounts() -> ::windows
::core
::Result
<super::super::super::Foundation
::Collections
::IVectorView
<EmailAccountInfo
>> {
1051 Self::IAccessoryManager2(|this
| unsafe {
1052 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::Collections
::IVectorView
<EmailAccountInfo
>>();
1053 (::windows
::core
::Interface
::vtable(this
).GetAllEmailAccounts
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1056 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
1057 #[cfg(feature = "Foundation_Collections")]
1058 pub fn GetFolders(emailaccount
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<super::super::super::Foundation
::Collections
::IVectorView
<EmailFolderInfo
>> {
1059 Self::IAccessoryManager2(|this
| unsafe {
1060 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::Collections
::IVectorView
<EmailFolderInfo
>>();
1061 (::windows
::core
::Interface
::vtable(this
).GetFolders
)(::windows
::core
::Interface
::as_raw(this
), ::core
::mem
::transmute_copy(emailaccount
), &mut result__
).from_abi(result__
)
1064 pub fn EnableEmailNotificationEmailAccount(emailaccount
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
1065 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).EnableEmailNotificationEmailAccount)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(emailaccount)).ok() }
)
1067 pub fn DisableEmailNotificationEmailAccount(emailaccount
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
1068 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).DisableEmailNotificationEmailAccount)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(emailaccount)).ok() }
)
1070 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
1071 #[cfg(feature = "Foundation_Collections")]
1072 pub fn EnableEmailNotificationFolderFilter
<P0
>(emailaccount
: &::windows
::core
::HSTRING
, folders
: P0
) -> ::windows
::core
::Result
<()>
1074 P0
: ::windows
::core
::TryIntoParam
<super::super::super::Foundation
::Collections
::IVectorView
<::windows
::core
::HSTRING
>>,
1076 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).EnableEmailNotificationFolderFilter)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(emailaccount), folders.try_into_param()?.abi()).ok() }
)
1078 pub fn UpdateEmailReadStatus(messageentryid
: &BinaryId
, isread
: bool
) -> ::windows
::core
::Result
<()> {
1079 Self::IAccessoryManager2(|this
| unsafe { (::windows::core::Interface::vtable(this).UpdateEmailReadStatus)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(messageentryid), isread).ok() }
)
1081 pub fn SnoozeAlarmByInstanceId(instanceid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
1082 Self::IAccessoryManager3(|this
| unsafe { (::windows::core::Interface::vtable(this).SnoozeAlarmByInstanceId)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(instanceid)).ok() }
)
1084 pub fn DismissAlarmByInstanceId(instanceid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
1085 Self::IAccessoryManager3(|this
| unsafe { (::windows::core::Interface::vtable(this).DismissAlarmByInstanceId)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(instanceid)).ok() }
)
1087 pub fn SnoozeReminderByInstanceId(instanceid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
1088 Self::IAccessoryManager3(|this
| unsafe { (::windows::core::Interface::vtable(this).SnoozeReminderByInstanceId)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(instanceid)).ok() }
)
1090 pub fn DismissReminderByInstanceId(instanceid
: &::windows
::core
::HSTRING
) -> ::windows
::core
::Result
<()> {
1091 Self::IAccessoryManager3(|this
| unsafe { (::windows::core::Interface::vtable(this).DismissReminderByInstanceId)(::windows::core::Interface::as_raw(this), ::core::mem::transmute_copy(instanceid)).ok() }
)
1094 pub fn IAccessoryManager
<R
, F
: FnOnce(&IAccessoryManager
) -> ::windows
::core
::Result
<R
>>(callback
: F
) -> ::windows
::core
::Result
<R
> {
1095 static SHARED
: ::windows
::imp
::FactoryCache
<AccessoryManager
, IAccessoryManager
> = ::windows
::imp
::FactoryCache
::new();
1096 SHARED
.call(callback
)
1099 pub fn IAccessoryManager2
<R
, F
: FnOnce(&IAccessoryManager2
) -> ::windows
::core
::Result
<R
>>(callback
: F
) -> ::windows
::core
::Result
<R
> {
1100 static SHARED
: ::windows
::imp
::FactoryCache
<AccessoryManager
, IAccessoryManager2
> = ::windows
::imp
::FactoryCache
::new();
1101 SHARED
.call(callback
)
1104 pub fn IAccessoryManager3
<R
, F
: FnOnce(&IAccessoryManager3
) -> ::windows
::core
::Result
<R
>>(callback
: F
) -> ::windows
::core
::Result
<R
> {
1105 static SHARED
: ::windows
::imp
::FactoryCache
<AccessoryManager
, IAccessoryManager3
> = ::windows
::imp
::FactoryCache
::new();
1106 SHARED
.call(callback
)
1109 impl ::windows
::core
::RuntimeName
for AccessoryManager
{
1110 const NAME
: &'
static str = "Windows.Phone.Notification.Management.AccessoryManager";
1112 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1113 #[repr(transparent)]
1114 pub struct AlarmNotificationTriggerDetails(::windows
::core
::IUnknown
);
1115 impl AlarmNotificationTriggerDetails
{
1116 #[doc = "*Required features: `\"Foundation\"`*"]
1117 #[cfg(feature = "Foundation")]
1118 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1119 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1121 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1122 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1125 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1126 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1128 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1129 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1132 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1133 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1135 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1136 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1139 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
1140 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1142 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
1143 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1146 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
1147 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1149 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1150 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1153 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
1154 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1155 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
1157 pub fn AlarmId(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
1160 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
1161 (::windows
::core
::Interface
::vtable(this
).AlarmId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1164 pub fn Title(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1167 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1168 (::windows
::core
::Interface
::vtable(this
).Title
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1171 #[doc = "*Required features: `\"Foundation\"`*"]
1172 #[cfg(feature = "Foundation")]
1173 pub fn Timestamp(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1176 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1177 (::windows
::core
::Interface
::vtable(this
).Timestamp
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1180 pub fn ReminderState(&self) -> ::windows
::core
::Result
<ReminderState
> {
1183 let mut result__
= ::windows
::core
::zeroed
::<ReminderState
>();
1184 (::windows
::core
::Interface
::vtable(this
).ReminderState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1187 pub fn InstanceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1188 let this
= &::windows
::core
::ComInterface
::cast
::<IAlarmNotificationTriggerDetails2
>(self)?
;
1190 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1191 (::windows
::core
::Interface
::vtable(this
).InstanceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1195 impl ::core
::cmp
::PartialEq
for AlarmNotificationTriggerDetails
{
1196 fn eq(&self, other
: &Self) -> bool
{
1200 impl ::core
::cmp
::Eq
for AlarmNotificationTriggerDetails {}
1201 impl ::core
::fmt
::Debug
for AlarmNotificationTriggerDetails
{
1202 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1203 f
.debug_tuple("AlarmNotificationTriggerDetails").field(&self.0).finish()
1206 impl ::windows
::core
::RuntimeType
for AlarmNotificationTriggerDetails
{
1207 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.AlarmNotificationTriggerDetails;{38f5fa30-c738-4da2-908c-775d83c36abb})");
1209 impl ::core
::clone
::Clone
for AlarmNotificationTriggerDetails
{
1210 fn clone(&self) -> Self {
1211 Self(self.0.clone())
1214 unsafe impl ::windows
::core
::Interface
for AlarmNotificationTriggerDetails
{
1215 type Vtable
= IAlarmNotificationTriggerDetails_Vtbl
;
1217 unsafe impl ::windows
::core
::ComInterface
for AlarmNotificationTriggerDetails
{
1218 const IID
: ::windows
::core
::GUID
= <IAlarmNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
1220 impl ::windows
::core
::RuntimeName
for AlarmNotificationTriggerDetails
{
1221 const NAME
: &'
static str = "Windows.Phone.Notification.Management.AlarmNotificationTriggerDetails";
1223 ::windows
::imp
::interface_hierarchy
!(AlarmNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1224 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for AlarmNotificationTriggerDetails {}
1225 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1226 #[repr(transparent)]
1227 pub struct AppNotificationInfo(::windows
::core
::IUnknown
);
1228 impl AppNotificationInfo
{
1229 pub fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1232 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1233 (::windows
::core
::Interface
::vtable(this
).Id
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1236 pub fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1239 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1240 (::windows
::core
::Interface
::vtable(this
).Name
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1244 impl ::core
::cmp
::PartialEq
for AppNotificationInfo
{
1245 fn eq(&self, other
: &Self) -> bool
{
1249 impl ::core
::cmp
::Eq
for AppNotificationInfo {}
1250 impl ::core
::fmt
::Debug
for AppNotificationInfo
{
1251 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1252 f
.debug_tuple("AppNotificationInfo").field(&self.0).finish()
1255 impl ::windows
::core
::RuntimeType
for AppNotificationInfo
{
1256 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.AppNotificationInfo;{2157bea5-e286-45d3-9bea-f790fc216e0e})");
1258 impl ::core
::clone
::Clone
for AppNotificationInfo
{
1259 fn clone(&self) -> Self {
1260 Self(self.0.clone())
1263 unsafe impl ::windows
::core
::Interface
for AppNotificationInfo
{
1264 type Vtable
= IAppNotificationInfo_Vtbl
;
1266 unsafe impl ::windows
::core
::ComInterface
for AppNotificationInfo
{
1267 const IID
: ::windows
::core
::GUID
= <IAppNotificationInfo
as ::windows
::core
::ComInterface
>::IID
;
1269 impl ::windows
::core
::RuntimeName
for AppNotificationInfo
{
1270 const NAME
: &'
static str = "Windows.Phone.Notification.Management.AppNotificationInfo";
1272 ::windows
::imp
::interface_hierarchy
!(AppNotificationInfo
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1273 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1274 #[repr(transparent)]
1275 pub struct BinaryId(::windows
::core
::IUnknown
);
1277 pub fn Id(&self) -> ::windows
::core
::Result
<u8> {
1280 let mut result__
= ::windows
::core
::zeroed
::<u8>();
1281 (::windows
::core
::Interface
::vtable(this
).Id
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1284 pub fn Length(&self) -> ::windows
::core
::Result
<u32> {
1287 let mut result__
= ::windows
::core
::zeroed
::<u32>();
1288 (::windows
::core
::Interface
::vtable(this
).Length
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1292 impl ::core
::cmp
::PartialEq
for BinaryId
{
1293 fn eq(&self, other
: &Self) -> bool
{
1297 impl ::core
::cmp
::Eq
for BinaryId {}
1298 impl ::core
::fmt
::Debug
for BinaryId
{
1299 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1300 f
.debug_tuple("BinaryId").field(&self.0).finish()
1303 impl ::windows
::core
::RuntimeType
for BinaryId
{
1304 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.BinaryId;{4f0da531-5595-44b4-9181-ce4efa3fc168})");
1306 impl ::core
::clone
::Clone
for BinaryId
{
1307 fn clone(&self) -> Self {
1308 Self(self.0.clone())
1311 unsafe impl ::windows
::core
::Interface
for BinaryId
{
1312 type Vtable
= IBinaryId_Vtbl
;
1314 unsafe impl ::windows
::core
::ComInterface
for BinaryId
{
1315 const IID
: ::windows
::core
::GUID
= <IBinaryId
as ::windows
::core
::ComInterface
>::IID
;
1317 impl ::windows
::core
::RuntimeName
for BinaryId
{
1318 const NAME
: &'
static str = "Windows.Phone.Notification.Management.BinaryId";
1320 ::windows
::imp
::interface_hierarchy
!(BinaryId
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1321 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1322 #[repr(transparent)]
1323 pub struct CalendarChangedNotificationTriggerDetails(::windows
::core
::IUnknown
);
1324 impl CalendarChangedNotificationTriggerDetails
{
1325 #[doc = "*Required features: `\"Foundation\"`*"]
1326 #[cfg(feature = "Foundation")]
1327 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1328 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1330 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1331 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1334 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1335 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1337 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1338 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1341 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1342 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1344 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1345 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1348 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
1349 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1351 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
1352 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1355 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
1356 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1358 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1359 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1362 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
1363 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1364 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
1366 pub fn EventType(&self) -> ::windows
::core
::Result
<CalendarChangedEvent
> {
1369 let mut result__
= ::windows
::core
::zeroed
::<CalendarChangedEvent
>();
1370 (::windows
::core
::Interface
::vtable(this
).EventType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1373 pub fn ItemId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1376 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1377 (::windows
::core
::Interface
::vtable(this
).ItemId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1381 impl ::core
::cmp
::PartialEq
for CalendarChangedNotificationTriggerDetails
{
1382 fn eq(&self, other
: &Self) -> bool
{
1386 impl ::core
::cmp
::Eq
for CalendarChangedNotificationTriggerDetails {}
1387 impl ::core
::fmt
::Debug
for CalendarChangedNotificationTriggerDetails
{
1388 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1389 f
.debug_tuple("CalendarChangedNotificationTriggerDetails").field(&self.0).finish()
1392 impl ::windows
::core
::RuntimeType
for CalendarChangedNotificationTriggerDetails
{
1393 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.CalendarChangedNotificationTriggerDetails;{4b8a3bfc-279d-42ab-9c68-3e87977bf216})");
1395 impl ::core
::clone
::Clone
for CalendarChangedNotificationTriggerDetails
{
1396 fn clone(&self) -> Self {
1397 Self(self.0.clone())
1400 unsafe impl ::windows
::core
::Interface
for CalendarChangedNotificationTriggerDetails
{
1401 type Vtable
= ICalendarChangedNotificationTriggerDetails_Vtbl
;
1403 unsafe impl ::windows
::core
::ComInterface
for CalendarChangedNotificationTriggerDetails
{
1404 const IID
: ::windows
::core
::GUID
= <ICalendarChangedNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
1406 impl ::windows
::core
::RuntimeName
for CalendarChangedNotificationTriggerDetails
{
1407 const NAME
: &'
static str = "Windows.Phone.Notification.Management.CalendarChangedNotificationTriggerDetails";
1409 ::windows
::imp
::interface_hierarchy
!(CalendarChangedNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1410 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for CalendarChangedNotificationTriggerDetails {}
1411 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1412 #[repr(transparent)]
1413 pub struct CortanaTileNotificationTriggerDetails(::windows
::core
::IUnknown
);
1414 impl CortanaTileNotificationTriggerDetails
{
1415 #[doc = "*Required features: `\"Foundation\"`*"]
1416 #[cfg(feature = "Foundation")]
1417 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1418 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1420 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1421 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1424 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1425 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1427 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1428 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1431 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1432 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1434 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1435 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1438 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
1439 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1441 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
1442 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1445 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
1446 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1448 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1449 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1452 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
1453 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1454 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
1456 pub fn TileId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1459 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1460 (::windows
::core
::Interface
::vtable(this
).TileId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1463 pub fn Content(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1466 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1467 (::windows
::core
::Interface
::vtable(this
).Content
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1470 pub fn LargeContent1(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1473 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1474 (::windows
::core
::Interface
::vtable(this
).LargeContent1
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1477 pub fn LargeContent2(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1480 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1481 (::windows
::core
::Interface
::vtable(this
).LargeContent2
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1484 pub fn EmphasizedText(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1487 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1488 (::windows
::core
::Interface
::vtable(this
).EmphasizedText
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1491 pub fn NonWrappedSmallContent1(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1494 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1495 (::windows
::core
::Interface
::vtable(this
).NonWrappedSmallContent1
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1498 pub fn NonWrappedSmallContent2(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1501 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1502 (::windows
::core
::Interface
::vtable(this
).NonWrappedSmallContent2
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1505 pub fn NonWrappedSmallContent3(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1508 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1509 (::windows
::core
::Interface
::vtable(this
).NonWrappedSmallContent3
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1512 pub fn NonWrappedSmallContent4(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1515 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1516 (::windows
::core
::Interface
::vtable(this
).NonWrappedSmallContent4
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1519 pub fn Source(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1522 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1523 (::windows
::core
::Interface
::vtable(this
).Source
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1527 impl ::core
::cmp
::PartialEq
for CortanaTileNotificationTriggerDetails
{
1528 fn eq(&self, other
: &Self) -> bool
{
1532 impl ::core
::cmp
::Eq
for CortanaTileNotificationTriggerDetails {}
1533 impl ::core
::fmt
::Debug
for CortanaTileNotificationTriggerDetails
{
1534 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1535 f
.debug_tuple("CortanaTileNotificationTriggerDetails").field(&self.0).finish()
1538 impl ::windows
::core
::RuntimeType
for CortanaTileNotificationTriggerDetails
{
1539 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.CortanaTileNotificationTriggerDetails;{dc0f01d5-1489-46bb-b73b-7f90067ecf27})");
1541 impl ::core
::clone
::Clone
for CortanaTileNotificationTriggerDetails
{
1542 fn clone(&self) -> Self {
1543 Self(self.0.clone())
1546 unsafe impl ::windows
::core
::Interface
for CortanaTileNotificationTriggerDetails
{
1547 type Vtable
= ICortanaTileNotificationTriggerDetails_Vtbl
;
1549 unsafe impl ::windows
::core
::ComInterface
for CortanaTileNotificationTriggerDetails
{
1550 const IID
: ::windows
::core
::GUID
= <ICortanaTileNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
1552 impl ::windows
::core
::RuntimeName
for CortanaTileNotificationTriggerDetails
{
1553 const NAME
: &'
static str = "Windows.Phone.Notification.Management.CortanaTileNotificationTriggerDetails";
1555 ::windows
::imp
::interface_hierarchy
!(CortanaTileNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1556 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for CortanaTileNotificationTriggerDetails {}
1557 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1558 #[repr(transparent)]
1559 pub struct EmailAccountInfo(::windows
::core
::IUnknown
);
1560 impl EmailAccountInfo
{
1561 pub fn DisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1564 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1565 (::windows
::core
::Interface
::vtable(this
).DisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1568 pub fn IsNotificationEnabled(&self) -> ::windows
::core
::Result
<bool
> {
1571 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1572 (::windows
::core
::Interface
::vtable(this
).IsNotificationEnabled
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1576 impl ::core
::cmp
::PartialEq
for EmailAccountInfo
{
1577 fn eq(&self, other
: &Self) -> bool
{
1581 impl ::core
::cmp
::Eq
for EmailAccountInfo {}
1582 impl ::core
::fmt
::Debug
for EmailAccountInfo
{
1583 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1584 f
.debug_tuple("EmailAccountInfo").field(&self.0).finish()
1587 impl ::windows
::core
::RuntimeType
for EmailAccountInfo
{
1588 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.EmailAccountInfo;{dfbc02ab-bda0-4568-927e-b2ede35818a1})");
1590 impl ::core
::clone
::Clone
for EmailAccountInfo
{
1591 fn clone(&self) -> Self {
1592 Self(self.0.clone())
1595 unsafe impl ::windows
::core
::Interface
for EmailAccountInfo
{
1596 type Vtable
= IEmailAccountInfo_Vtbl
;
1598 unsafe impl ::windows
::core
::ComInterface
for EmailAccountInfo
{
1599 const IID
: ::windows
::core
::GUID
= <IEmailAccountInfo
as ::windows
::core
::ComInterface
>::IID
;
1601 impl ::windows
::core
::RuntimeName
for EmailAccountInfo
{
1602 const NAME
: &'
static str = "Windows.Phone.Notification.Management.EmailAccountInfo";
1604 ::windows
::imp
::interface_hierarchy
!(EmailAccountInfo
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1605 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1606 #[repr(transparent)]
1607 pub struct EmailFolderInfo(::windows
::core
::IUnknown
);
1608 impl EmailFolderInfo
{
1609 pub fn DisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1612 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1613 (::windows
::core
::Interface
::vtable(this
).DisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1616 pub fn IsNotificationEnabled(&self) -> ::windows
::core
::Result
<bool
> {
1619 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1620 (::windows
::core
::Interface
::vtable(this
).IsNotificationEnabled
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1624 impl ::core
::cmp
::PartialEq
for EmailFolderInfo
{
1625 fn eq(&self, other
: &Self) -> bool
{
1629 impl ::core
::cmp
::Eq
for EmailFolderInfo {}
1630 impl ::core
::fmt
::Debug
for EmailFolderInfo
{
1631 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1632 f
.debug_tuple("EmailFolderInfo").field(&self.0).finish()
1635 impl ::windows
::core
::RuntimeType
for EmailFolderInfo
{
1636 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.EmailFolderInfo;{c207150e-e237-46d6-90e6-4f529eeac1e2})");
1638 impl ::core
::clone
::Clone
for EmailFolderInfo
{
1639 fn clone(&self) -> Self {
1640 Self(self.0.clone())
1643 unsafe impl ::windows
::core
::Interface
for EmailFolderInfo
{
1644 type Vtable
= IEmailFolderInfo_Vtbl
;
1646 unsafe impl ::windows
::core
::ComInterface
for EmailFolderInfo
{
1647 const IID
: ::windows
::core
::GUID
= <IEmailFolderInfo
as ::windows
::core
::ComInterface
>::IID
;
1649 impl ::windows
::core
::RuntimeName
for EmailFolderInfo
{
1650 const NAME
: &'
static str = "Windows.Phone.Notification.Management.EmailFolderInfo";
1652 ::windows
::imp
::interface_hierarchy
!(EmailFolderInfo
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1653 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1654 #[repr(transparent)]
1655 pub struct EmailNotificationTriggerDetails(::windows
::core
::IUnknown
);
1656 impl EmailNotificationTriggerDetails
{
1657 #[doc = "*Required features: `\"Foundation\"`*"]
1658 #[cfg(feature = "Foundation")]
1659 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1660 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1662 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1663 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1666 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1667 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1669 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1670 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1673 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1674 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1676 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1677 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1680 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
1681 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1683 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
1684 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1687 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
1688 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1690 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1691 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1694 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
1695 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1696 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
1698 pub fn AccountName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1701 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1702 (::windows
::core
::Interface
::vtable(this
).AccountName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1705 pub fn ParentFolderName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1708 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1709 (::windows
::core
::Interface
::vtable(this
).ParentFolderName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1712 pub fn SenderName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1715 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1716 (::windows
::core
::Interface
::vtable(this
).SenderName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1719 pub fn SenderAddress(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1722 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1723 (::windows
::core
::Interface
::vtable(this
).SenderAddress
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1726 #[doc = "*Required features: `\"ApplicationModel_Email\"`*"]
1727 #[cfg(feature = "ApplicationModel_Email")]
1728 pub fn EmailMessage(&self) -> ::windows
::core
::Result
<super::super::super::ApplicationModel
::Email
::EmailMessage
> {
1731 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::ApplicationModel
::Email
::EmailMessage
>();
1732 (::windows
::core
::Interface
::vtable(this
).EmailMessage
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1735 #[doc = "*Required features: `\"Foundation\"`*"]
1736 #[cfg(feature = "Foundation")]
1737 pub fn Timestamp(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1740 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1741 (::windows
::core
::Interface
::vtable(this
).Timestamp
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1744 pub fn MessageEntryId(&self) -> ::windows
::core
::Result
<BinaryId
> {
1745 let this
= &::windows
::core
::ComInterface
::cast
::<IEmailNotificationTriggerDetails2
>(self)?
;
1747 let mut result__
= ::windows
::core
::zeroed
::<BinaryId
>();
1748 (::windows
::core
::Interface
::vtable(this
).MessageEntryId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1752 impl ::core
::cmp
::PartialEq
for EmailNotificationTriggerDetails
{
1753 fn eq(&self, other
: &Self) -> bool
{
1757 impl ::core
::cmp
::Eq
for EmailNotificationTriggerDetails {}
1758 impl ::core
::fmt
::Debug
for EmailNotificationTriggerDetails
{
1759 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1760 f
.debug_tuple("EmailNotificationTriggerDetails").field(&self.0).finish()
1763 impl ::windows
::core
::RuntimeType
for EmailNotificationTriggerDetails
{
1764 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.EmailNotificationTriggerDetails;{f3b82612-46cf-4e70-8e0d-7b2e04ab492b})");
1766 impl ::core
::clone
::Clone
for EmailNotificationTriggerDetails
{
1767 fn clone(&self) -> Self {
1768 Self(self.0.clone())
1771 unsafe impl ::windows
::core
::Interface
for EmailNotificationTriggerDetails
{
1772 type Vtable
= IEmailNotificationTriggerDetails_Vtbl
;
1774 unsafe impl ::windows
::core
::ComInterface
for EmailNotificationTriggerDetails
{
1775 const IID
: ::windows
::core
::GUID
= <IEmailNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
1777 impl ::windows
::core
::RuntimeName
for EmailNotificationTriggerDetails
{
1778 const NAME
: &'
static str = "Windows.Phone.Notification.Management.EmailNotificationTriggerDetails";
1780 ::windows
::imp
::interface_hierarchy
!(EmailNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1781 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for EmailNotificationTriggerDetails {}
1782 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1783 #[repr(transparent)]
1784 pub struct EmailReadNotificationTriggerDetails(::windows
::core
::IUnknown
);
1785 impl EmailReadNotificationTriggerDetails
{
1786 #[doc = "*Required features: `\"Foundation\"`*"]
1787 #[cfg(feature = "Foundation")]
1788 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1789 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1791 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1792 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1795 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1796 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1798 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1799 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1802 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1803 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1805 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1806 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1809 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
1810 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1812 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
1813 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1816 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
1817 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1819 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1820 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1823 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
1824 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1825 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
1827 pub fn AccountName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1830 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1831 (::windows
::core
::Interface
::vtable(this
).AccountName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1834 pub fn ParentFolderName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1837 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1838 (::windows
::core
::Interface
::vtable(this
).ParentFolderName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1841 pub fn MessageEntryId(&self) -> ::windows
::core
::Result
<BinaryId
> {
1844 let mut result__
= ::windows
::core
::zeroed
::<BinaryId
>();
1845 (::windows
::core
::Interface
::vtable(this
).MessageEntryId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1848 pub fn IsRead(&self) -> ::windows
::core
::Result
<bool
> {
1851 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1852 (::windows
::core
::Interface
::vtable(this
).IsRead
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1856 impl ::core
::cmp
::PartialEq
for EmailReadNotificationTriggerDetails
{
1857 fn eq(&self, other
: &Self) -> bool
{
1861 impl ::core
::cmp
::Eq
for EmailReadNotificationTriggerDetails {}
1862 impl ::core
::fmt
::Debug
for EmailReadNotificationTriggerDetails
{
1863 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1864 f
.debug_tuple("EmailReadNotificationTriggerDetails").field(&self.0).finish()
1867 impl ::windows
::core
::RuntimeType
for EmailReadNotificationTriggerDetails
{
1868 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.EmailReadNotificationTriggerDetails;{f5b7a087-06f3-4e3e-8c42-325e67010413})");
1870 impl ::core
::clone
::Clone
for EmailReadNotificationTriggerDetails
{
1871 fn clone(&self) -> Self {
1872 Self(self.0.clone())
1875 unsafe impl ::windows
::core
::Interface
for EmailReadNotificationTriggerDetails
{
1876 type Vtable
= IEmailReadNotificationTriggerDetails_Vtbl
;
1878 unsafe impl ::windows
::core
::ComInterface
for EmailReadNotificationTriggerDetails
{
1879 const IID
: ::windows
::core
::GUID
= <IEmailReadNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
1881 impl ::windows
::core
::RuntimeName
for EmailReadNotificationTriggerDetails
{
1882 const NAME
: &'
static str = "Windows.Phone.Notification.Management.EmailReadNotificationTriggerDetails";
1884 ::windows
::imp
::interface_hierarchy
!(EmailReadNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1885 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for EmailReadNotificationTriggerDetails {}
1886 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1887 #[repr(transparent)]
1888 pub struct MediaControlsTriggerDetails(::windows
::core
::IUnknown
);
1889 impl MediaControlsTriggerDetails
{
1890 #[doc = "*Required features: `\"Foundation\"`*"]
1891 #[cfg(feature = "Foundation")]
1892 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
1893 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1895 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
1896 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1899 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1900 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1902 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1903 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1906 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1907 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1909 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1910 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1913 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
1914 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1916 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
1917 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1920 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
1921 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1923 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
1924 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1927 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
1928 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
1929 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
1931 pub fn PlaybackStatus(&self) -> ::windows
::core
::Result
<PlaybackStatus
> {
1934 let mut result__
= ::windows
::core
::zeroed
::<PlaybackStatus
>();
1935 (::windows
::core
::Interface
::vtable(this
).PlaybackStatus
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1938 pub fn MediaMetadata(&self) -> ::windows
::core
::Result
<MediaMetadata
> {
1941 let mut result__
= ::windows
::core
::zeroed
::<MediaMetadata
>();
1942 (::windows
::core
::Interface
::vtable(this
).MediaMetadata
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1946 impl ::core
::cmp
::PartialEq
for MediaControlsTriggerDetails
{
1947 fn eq(&self, other
: &Self) -> bool
{
1951 impl ::core
::cmp
::Eq
for MediaControlsTriggerDetails {}
1952 impl ::core
::fmt
::Debug
for MediaControlsTriggerDetails
{
1953 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1954 f
.debug_tuple("MediaControlsTriggerDetails").field(&self.0).finish()
1957 impl ::windows
::core
::RuntimeType
for MediaControlsTriggerDetails
{
1958 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.MediaControlsTriggerDetails;{fab4648b-ae45-4548-91ca-4ab0548e33b5})");
1960 impl ::core
::clone
::Clone
for MediaControlsTriggerDetails
{
1961 fn clone(&self) -> Self {
1962 Self(self.0.clone())
1965 unsafe impl ::windows
::core
::Interface
for MediaControlsTriggerDetails
{
1966 type Vtable
= IMediaControlsTriggerDetails_Vtbl
;
1968 unsafe impl ::windows
::core
::ComInterface
for MediaControlsTriggerDetails
{
1969 const IID
: ::windows
::core
::GUID
= <IMediaControlsTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
1971 impl ::windows
::core
::RuntimeName
for MediaControlsTriggerDetails
{
1972 const NAME
: &'
static str = "Windows.Phone.Notification.Management.MediaControlsTriggerDetails";
1974 ::windows
::imp
::interface_hierarchy
!(MediaControlsTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
1975 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for MediaControlsTriggerDetails {}
1976 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
1977 #[repr(transparent)]
1978 pub struct MediaMetadata(::windows
::core
::IUnknown
);
1979 impl MediaMetadata
{
1980 pub fn Title(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1983 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1984 (::windows
::core
::Interface
::vtable(this
).Title
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1987 pub fn Subtitle(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1990 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1991 (::windows
::core
::Interface
::vtable(this
).Subtitle
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
1994 pub fn Artist(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
1997 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
1998 (::windows
::core
::Interface
::vtable(this
).Artist
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2001 pub fn Album(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2004 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2005 (::windows
::core
::Interface
::vtable(this
).Album
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2008 pub fn Track(&self) -> ::windows
::core
::Result
<u32> {
2011 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2012 (::windows
::core
::Interface
::vtable(this
).Track
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2015 #[doc = "*Required features: `\"Foundation\"`*"]
2016 #[cfg(feature = "Foundation")]
2017 pub fn Duration(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::TimeSpan
> {
2020 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::TimeSpan
>();
2021 (::windows
::core
::Interface
::vtable(this
).Duration
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2024 #[doc = "*Required features: `\"Storage_Streams\"`*"]
2025 #[cfg(feature = "Storage_Streams")]
2026 pub fn Thumbnail(&self) -> ::windows
::core
::Result
<super::super::super::Storage
::Streams
::IRandomAccessStreamReference
> {
2029 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Storage
::Streams
::IRandomAccessStreamReference
>();
2030 (::windows
::core
::Interface
::vtable(this
).Thumbnail
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2034 impl ::core
::cmp
::PartialEq
for MediaMetadata
{
2035 fn eq(&self, other
: &Self) -> bool
{
2039 impl ::core
::cmp
::Eq
for MediaMetadata {}
2040 impl ::core
::fmt
::Debug
for MediaMetadata
{
2041 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2042 f
.debug_tuple("MediaMetadata").field(&self.0).finish()
2045 impl ::windows
::core
::RuntimeType
for MediaMetadata
{
2046 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.MediaMetadata;{9b50ddf7-bb6c-4330-b3cd-0704a54cdb80})");
2048 impl ::core
::clone
::Clone
for MediaMetadata
{
2049 fn clone(&self) -> Self {
2050 Self(self.0.clone())
2053 unsafe impl ::windows
::core
::Interface
for MediaMetadata
{
2054 type Vtable
= IMediaMetadata_Vtbl
;
2056 unsafe impl ::windows
::core
::ComInterface
for MediaMetadata
{
2057 const IID
: ::windows
::core
::GUID
= <IMediaMetadata
as ::windows
::core
::ComInterface
>::IID
;
2059 impl ::windows
::core
::RuntimeName
for MediaMetadata
{
2060 const NAME
: &'
static str = "Windows.Phone.Notification.Management.MediaMetadata";
2062 ::windows
::imp
::interface_hierarchy
!(MediaMetadata
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2063 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2064 #[repr(transparent)]
2065 pub struct PhoneCallDetails(::windows
::core
::IUnknown
);
2066 impl PhoneCallDetails
{
2067 pub fn PhoneLine(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
2070 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
2071 (::windows
::core
::Interface
::vtable(this
).PhoneLine
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2074 pub fn CallId(&self) -> ::windows
::core
::Result
<u32> {
2077 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2078 (::windows
::core
::Interface
::vtable(this
).CallId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2081 pub fn CallTransport(&self) -> ::windows
::core
::Result
<PhoneCallTransport
> {
2084 let mut result__
= ::windows
::core
::zeroed
::<PhoneCallTransport
>();
2085 (::windows
::core
::Interface
::vtable(this
).CallTransport
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2088 pub fn CallMediaType(&self) -> ::windows
::core
::Result
<PhoneMediaType
> {
2091 let mut result__
= ::windows
::core
::zeroed
::<PhoneMediaType
>();
2092 (::windows
::core
::Interface
::vtable(this
).CallMediaType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2095 pub fn CallDirection(&self) -> ::windows
::core
::Result
<PhoneCallDirection
> {
2098 let mut result__
= ::windows
::core
::zeroed
::<PhoneCallDirection
>();
2099 (::windows
::core
::Interface
::vtable(this
).CallDirection
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2102 pub fn State(&self) -> ::windows
::core
::Result
<PhoneCallState
> {
2105 let mut result__
= ::windows
::core
::zeroed
::<PhoneCallState
>();
2106 (::windows
::core
::Interface
::vtable(this
).State
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2109 pub fn ConferenceCallId(&self) -> ::windows
::core
::Result
<u32> {
2112 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2113 (::windows
::core
::Interface
::vtable(this
).ConferenceCallId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2116 #[doc = "*Required features: `\"Foundation\"`*"]
2117 #[cfg(feature = "Foundation")]
2118 pub fn StartTime(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
2121 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
2122 (::windows
::core
::Interface
::vtable(this
).StartTime
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2125 #[doc = "*Required features: `\"Foundation\"`*"]
2126 #[cfg(feature = "Foundation")]
2127 pub fn EndTime(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
2130 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
2131 (::windows
::core
::Interface
::vtable(this
).EndTime
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2134 pub fn PhoneNumber(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2137 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2138 (::windows
::core
::Interface
::vtable(this
).PhoneNumber
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2141 pub fn ContactName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2144 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2145 (::windows
::core
::Interface
::vtable(this
).ContactName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2148 #[doc = "*Required features: `\"Foundation_Collections\"`*"]
2149 #[cfg(feature = "Foundation_Collections")]
2150 pub fn PresetTextResponses(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::Collections
::IVectorView
<TextResponse
>> {
2153 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::Collections
::IVectorView
<TextResponse
>>();
2154 (::windows
::core
::Interface
::vtable(this
).PresetTextResponses
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2158 impl ::core
::cmp
::PartialEq
for PhoneCallDetails
{
2159 fn eq(&self, other
: &Self) -> bool
{
2163 impl ::core
::cmp
::Eq
for PhoneCallDetails {}
2164 impl ::core
::fmt
::Debug
for PhoneCallDetails
{
2165 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2166 f
.debug_tuple("PhoneCallDetails").field(&self.0).finish()
2169 impl ::windows
::core
::RuntimeType
for PhoneCallDetails
{
2170 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.PhoneCallDetails;{0c1b6f53-f071-483e-bf33-ebd44b724447})");
2172 impl ::core
::clone
::Clone
for PhoneCallDetails
{
2173 fn clone(&self) -> Self {
2174 Self(self.0.clone())
2177 unsafe impl ::windows
::core
::Interface
for PhoneCallDetails
{
2178 type Vtable
= IPhoneCallDetails_Vtbl
;
2180 unsafe impl ::windows
::core
::ComInterface
for PhoneCallDetails
{
2181 const IID
: ::windows
::core
::GUID
= <IPhoneCallDetails
as ::windows
::core
::ComInterface
>::IID
;
2183 impl ::windows
::core
::RuntimeName
for PhoneCallDetails
{
2184 const NAME
: &'
static str = "Windows.Phone.Notification.Management.PhoneCallDetails";
2186 ::windows
::imp
::interface_hierarchy
!(PhoneCallDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2187 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2188 #[repr(transparent)]
2189 pub struct PhoneLineDetails(::windows
::core
::IUnknown
);
2190 impl PhoneLineDetails
{
2191 pub fn LineId(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
2194 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
2195 (::windows
::core
::Interface
::vtable(this
).LineId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2198 pub fn DisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2201 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2202 (::windows
::core
::Interface
::vtable(this
).DisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2205 pub fn LineNumber(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2208 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2209 (::windows
::core
::Interface
::vtable(this
).LineNumber
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2212 pub fn DefaultOutgoingLine(&self) -> ::windows
::core
::Result
<bool
> {
2215 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
2216 (::windows
::core
::Interface
::vtable(this
).DefaultOutgoingLine
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2219 pub fn VoicemailCount(&self) -> ::windows
::core
::Result
<u32> {
2222 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2223 (::windows
::core
::Interface
::vtable(this
).VoicemailCount
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2226 pub fn RegistrationState(&self) -> ::windows
::core
::Result
<PhoneLineRegistrationState
> {
2229 let mut result__
= ::windows
::core
::zeroed
::<PhoneLineRegistrationState
>();
2230 (::windows
::core
::Interface
::vtable(this
).RegistrationState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2233 pub fn MissedCallCount(&self) -> ::windows
::core
::Result
<u32> {
2234 let this
= &::windows
::core
::ComInterface
::cast
::<IPhoneLineDetails2
>(self)?
;
2236 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2237 (::windows
::core
::Interface
::vtable(this
).MissedCallCount
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2241 impl ::core
::cmp
::PartialEq
for PhoneLineDetails
{
2242 fn eq(&self, other
: &Self) -> bool
{
2246 impl ::core
::cmp
::Eq
for PhoneLineDetails {}
2247 impl ::core
::fmt
::Debug
for PhoneLineDetails
{
2248 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2249 f
.debug_tuple("PhoneLineDetails").field(&self.0).finish()
2252 impl ::windows
::core
::RuntimeType
for PhoneLineDetails
{
2253 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.PhoneLineDetails;{47eb32dc-33ed-49b9-995c-a296bac82b77})");
2255 impl ::core
::clone
::Clone
for PhoneLineDetails
{
2256 fn clone(&self) -> Self {
2257 Self(self.0.clone())
2260 unsafe impl ::windows
::core
::Interface
for PhoneLineDetails
{
2261 type Vtable
= IPhoneLineDetails_Vtbl
;
2263 unsafe impl ::windows
::core
::ComInterface
for PhoneLineDetails
{
2264 const IID
: ::windows
::core
::GUID
= <IPhoneLineDetails
as ::windows
::core
::ComInterface
>::IID
;
2266 impl ::windows
::core
::RuntimeName
for PhoneLineDetails
{
2267 const NAME
: &'
static str = "Windows.Phone.Notification.Management.PhoneLineDetails";
2269 ::windows
::imp
::interface_hierarchy
!(PhoneLineDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2270 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2271 #[repr(transparent)]
2272 pub struct PhoneNotificationTriggerDetails(::windows
::core
::IUnknown
);
2273 impl PhoneNotificationTriggerDetails
{
2274 #[doc = "*Required features: `\"Foundation\"`*"]
2275 #[cfg(feature = "Foundation")]
2276 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
2277 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2279 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
2280 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2283 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2284 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2286 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2287 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2290 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2291 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2293 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2294 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2297 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
2298 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2300 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
2301 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2304 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
2305 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2307 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
2308 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2311 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
2312 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2313 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
2315 pub fn PhoneNotificationType(&self) -> ::windows
::core
::Result
<PhoneNotificationType
> {
2318 let mut result__
= ::windows
::core
::zeroed
::<PhoneNotificationType
>();
2319 (::windows
::core
::Interface
::vtable(this
).PhoneNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2322 pub fn CallDetails(&self) -> ::windows
::core
::Result
<PhoneCallDetails
> {
2325 let mut result__
= ::windows
::core
::zeroed
::<PhoneCallDetails
>();
2326 (::windows
::core
::Interface
::vtable(this
).CallDetails
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2329 pub fn PhoneLineChangedId(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
2332 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
2333 (::windows
::core
::Interface
::vtable(this
).PhoneLineChangedId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2337 impl ::core
::cmp
::PartialEq
for PhoneNotificationTriggerDetails
{
2338 fn eq(&self, other
: &Self) -> bool
{
2342 impl ::core
::cmp
::Eq
for PhoneNotificationTriggerDetails {}
2343 impl ::core
::fmt
::Debug
for PhoneNotificationTriggerDetails
{
2344 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2345 f
.debug_tuple("PhoneNotificationTriggerDetails").field(&self.0).finish()
2348 impl ::windows
::core
::RuntimeType
for PhoneNotificationTriggerDetails
{
2349 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.PhoneNotificationTriggerDetails;{ccc2fdf7-09c3-4118-91bc-ca6323a8d383})");
2351 impl ::core
::clone
::Clone
for PhoneNotificationTriggerDetails
{
2352 fn clone(&self) -> Self {
2353 Self(self.0.clone())
2356 unsafe impl ::windows
::core
::Interface
for PhoneNotificationTriggerDetails
{
2357 type Vtable
= IPhoneNotificationTriggerDetails_Vtbl
;
2359 unsafe impl ::windows
::core
::ComInterface
for PhoneNotificationTriggerDetails
{
2360 const IID
: ::windows
::core
::GUID
= <IPhoneNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
2362 impl ::windows
::core
::RuntimeName
for PhoneNotificationTriggerDetails
{
2363 const NAME
: &'
static str = "Windows.Phone.Notification.Management.PhoneNotificationTriggerDetails";
2365 ::windows
::imp
::interface_hierarchy
!(PhoneNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2366 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for PhoneNotificationTriggerDetails {}
2367 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2368 #[repr(transparent)]
2369 pub struct ReminderNotificationTriggerDetails(::windows
::core
::IUnknown
);
2370 impl ReminderNotificationTriggerDetails
{
2371 #[doc = "*Required features: `\"Foundation\"`*"]
2372 #[cfg(feature = "Foundation")]
2373 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
2374 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2376 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
2377 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2380 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2381 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2383 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2384 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2387 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2388 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2390 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2391 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2394 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
2395 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2397 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
2398 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2401 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
2402 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2404 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
2405 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2408 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
2409 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2410 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
2412 pub fn ReminderId(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
2415 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
2416 (::windows
::core
::Interface
::vtable(this
).ReminderId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2419 pub fn Title(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2422 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2423 (::windows
::core
::Interface
::vtable(this
).Title
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2426 pub fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2429 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2430 (::windows
::core
::Interface
::vtable(this
).Description
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2433 pub fn Details(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2436 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2437 (::windows
::core
::Interface
::vtable(this
).Details
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2440 #[doc = "*Required features: `\"Foundation\"`*"]
2441 #[cfg(feature = "Foundation")]
2442 pub fn Timestamp(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
2445 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
2446 (::windows
::core
::Interface
::vtable(this
).Timestamp
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2449 #[doc = "*Required features: `\"ApplicationModel_Appointments\"`*"]
2450 #[cfg(feature = "ApplicationModel_Appointments")]
2451 pub fn Appointment(&self) -> ::windows
::core
::Result
<super::super::super::ApplicationModel
::Appointments
::Appointment
> {
2454 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::ApplicationModel
::Appointments
::Appointment
>();
2455 (::windows
::core
::Interface
::vtable(this
).Appointment
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2458 pub fn ReminderState(&self) -> ::windows
::core
::Result
<ReminderState
> {
2461 let mut result__
= ::windows
::core
::zeroed
::<ReminderState
>();
2462 (::windows
::core
::Interface
::vtable(this
).ReminderState
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2465 pub fn InstanceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2466 let this
= &::windows
::core
::ComInterface
::cast
::<IReminderNotificationTriggerDetails2
>(self)?
;
2468 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2469 (::windows
::core
::Interface
::vtable(this
).InstanceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2473 impl ::core
::cmp
::PartialEq
for ReminderNotificationTriggerDetails
{
2474 fn eq(&self, other
: &Self) -> bool
{
2478 impl ::core
::cmp
::Eq
for ReminderNotificationTriggerDetails {}
2479 impl ::core
::fmt
::Debug
for ReminderNotificationTriggerDetails
{
2480 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2481 f
.debug_tuple("ReminderNotificationTriggerDetails").field(&self.0).finish()
2484 impl ::windows
::core
::RuntimeType
for ReminderNotificationTriggerDetails
{
2485 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.ReminderNotificationTriggerDetails;{5bddaa5d-9f61-4bf0-9feb-10502bc0b0c2})");
2487 impl ::core
::clone
::Clone
for ReminderNotificationTriggerDetails
{
2488 fn clone(&self) -> Self {
2489 Self(self.0.clone())
2492 unsafe impl ::windows
::core
::Interface
for ReminderNotificationTriggerDetails
{
2493 type Vtable
= IReminderNotificationTriggerDetails_Vtbl
;
2495 unsafe impl ::windows
::core
::ComInterface
for ReminderNotificationTriggerDetails
{
2496 const IID
: ::windows
::core
::GUID
= <IReminderNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
2498 impl ::windows
::core
::RuntimeName
for ReminderNotificationTriggerDetails
{
2499 const NAME
: &'
static str = "Windows.Phone.Notification.Management.ReminderNotificationTriggerDetails";
2501 ::windows
::imp
::interface_hierarchy
!(ReminderNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2502 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for ReminderNotificationTriggerDetails {}
2503 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2504 #[repr(transparent)]
2505 pub struct SpeedDialEntry(::windows
::core
::IUnknown
);
2506 impl SpeedDialEntry
{
2507 pub fn PhoneNumber(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2510 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2511 (::windows
::core
::Interface
::vtable(this
).PhoneNumber
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2514 pub fn NumberType(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2517 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2518 (::windows
::core
::Interface
::vtable(this
).NumberType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2521 pub fn ContactName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2524 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2525 (::windows
::core
::Interface
::vtable(this
).ContactName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2529 impl ::core
::cmp
::PartialEq
for SpeedDialEntry
{
2530 fn eq(&self, other
: &Self) -> bool
{
2534 impl ::core
::cmp
::Eq
for SpeedDialEntry {}
2535 impl ::core
::fmt
::Debug
for SpeedDialEntry
{
2536 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2537 f
.debug_tuple("SpeedDialEntry").field(&self.0).finish()
2540 impl ::windows
::core
::RuntimeType
for SpeedDialEntry
{
2541 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.SpeedDialEntry;{9240b6db-872c-46dc-b62a-be4541b166f8})");
2543 impl ::core
::clone
::Clone
for SpeedDialEntry
{
2544 fn clone(&self) -> Self {
2545 Self(self.0.clone())
2548 unsafe impl ::windows
::core
::Interface
for SpeedDialEntry
{
2549 type Vtable
= ISpeedDialEntry_Vtbl
;
2551 unsafe impl ::windows
::core
::ComInterface
for SpeedDialEntry
{
2552 const IID
: ::windows
::core
::GUID
= <ISpeedDialEntry
as ::windows
::core
::ComInterface
>::IID
;
2554 impl ::windows
::core
::RuntimeName
for SpeedDialEntry
{
2555 const NAME
: &'
static str = "Windows.Phone.Notification.Management.SpeedDialEntry";
2557 ::windows
::imp
::interface_hierarchy
!(SpeedDialEntry
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2558 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2559 #[repr(transparent)]
2560 pub struct TextResponse(::windows
::core
::IUnknown
);
2562 pub fn Id(&self) -> ::windows
::core
::Result
<u32> {
2565 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2566 (::windows
::core
::Interface
::vtable(this
).Id
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2569 pub fn Content(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2572 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2573 (::windows
::core
::Interface
::vtable(this
).Content
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2577 impl ::core
::cmp
::PartialEq
for TextResponse
{
2578 fn eq(&self, other
: &Self) -> bool
{
2582 impl ::core
::cmp
::Eq
for TextResponse {}
2583 impl ::core
::fmt
::Debug
for TextResponse
{
2584 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2585 f
.debug_tuple("TextResponse").field(&self.0).finish()
2588 impl ::windows
::core
::RuntimeType
for TextResponse
{
2589 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.TextResponse;{e9cb74c3-2457-4cdb-8110-72f5e8e883e8})");
2591 impl ::core
::clone
::Clone
for TextResponse
{
2592 fn clone(&self) -> Self {
2593 Self(self.0.clone())
2596 unsafe impl ::windows
::core
::Interface
for TextResponse
{
2597 type Vtable
= ITextResponse_Vtbl
;
2599 unsafe impl ::windows
::core
::ComInterface
for TextResponse
{
2600 const IID
: ::windows
::core
::GUID
= <ITextResponse
as ::windows
::core
::ComInterface
>::IID
;
2602 impl ::windows
::core
::RuntimeName
for TextResponse
{
2603 const NAME
: &'
static str = "Windows.Phone.Notification.Management.TextResponse";
2605 ::windows
::imp
::interface_hierarchy
!(TextResponse
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2606 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2607 #[repr(transparent)]
2608 pub struct ToastNotificationTriggerDetails(::windows
::core
::IUnknown
);
2609 impl ToastNotificationTriggerDetails
{
2610 #[doc = "*Required features: `\"Foundation\"`*"]
2611 #[cfg(feature = "Foundation")]
2612 pub fn TimeCreated(&self) -> ::windows
::core
::Result
<super::super::super::Foundation
::DateTime
> {
2613 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2615 let mut result__
= ::windows
::core
::zeroed
::<super::super::super::Foundation
::DateTime
>();
2616 (::windows
::core
::Interface
::vtable(this
).TimeCreated
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2619 pub fn AppDisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2620 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2622 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2623 (::windows
::core
::Interface
::vtable(this
).AppDisplayName
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2626 pub fn AppId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2627 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2629 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2630 (::windows
::core
::Interface
::vtable(this
).AppId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2633 pub fn AccessoryNotificationType(&self) -> ::windows
::core
::Result
<AccessoryNotificationType
> {
2634 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2636 let mut result__
= ::windows
::core
::zeroed
::<AccessoryNotificationType
>();
2637 (::windows
::core
::Interface
::vtable(this
).AccessoryNotificationType
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2640 pub fn StartedProcessing(&self) -> ::windows
::core
::Result
<bool
> {
2641 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2643 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
2644 (::windows
::core
::Interface
::vtable(this
).StartedProcessing
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2647 pub fn SetStartedProcessing(&self, value
: bool
) -> ::windows
::core
::Result
<()> {
2648 let this
= &::windows
::core
::ComInterface
::cast
::<IAccessoryNotificationTriggerDetails
>(self)?
;
2649 unsafe { (::windows::core::Interface::vtable(this).SetStartedProcessing)(::windows::core::Interface::as_raw(this), value).ok() }
2651 pub fn Text1(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2654 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2655 (::windows
::core
::Interface
::vtable(this
).Text1
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2658 pub fn Text2(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2661 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2662 (::windows
::core
::Interface
::vtable(this
).Text2
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2665 pub fn Text3(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2668 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2669 (::windows
::core
::Interface
::vtable(this
).Text3
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2672 pub fn Text4(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2675 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2676 (::windows
::core
::Interface
::vtable(this
).Text4
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2679 pub fn SuppressPopup(&self) -> ::windows
::core
::Result
<bool
> {
2682 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
2683 (::windows
::core
::Interface
::vtable(this
).SuppressPopup
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2686 pub fn InstanceId(&self) -> ::windows
::core
::Result
<::windows
::core
::HSTRING
> {
2687 let this
= &::windows
::core
::ComInterface
::cast
::<IToastNotificationTriggerDetails2
>(self)?
;
2689 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::HSTRING
>();
2690 (::windows
::core
::Interface
::vtable(this
).InstanceId
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2694 impl ::core
::cmp
::PartialEq
for ToastNotificationTriggerDetails
{
2695 fn eq(&self, other
: &Self) -> bool
{
2699 impl ::core
::cmp
::Eq
for ToastNotificationTriggerDetails {}
2700 impl ::core
::fmt
::Debug
for ToastNotificationTriggerDetails
{
2701 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2702 f
.debug_tuple("ToastNotificationTriggerDetails").field(&self.0).finish()
2705 impl ::windows
::core
::RuntimeType
for ToastNotificationTriggerDetails
{
2706 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.ToastNotificationTriggerDetails;{c9314895-4e6d-4e9d-afec-9e921b875ae8})");
2708 impl ::core
::clone
::Clone
for ToastNotificationTriggerDetails
{
2709 fn clone(&self) -> Self {
2710 Self(self.0.clone())
2713 unsafe impl ::windows
::core
::Interface
for ToastNotificationTriggerDetails
{
2714 type Vtable
= IToastNotificationTriggerDetails_Vtbl
;
2716 unsafe impl ::windows
::core
::ComInterface
for ToastNotificationTriggerDetails
{
2717 const IID
: ::windows
::core
::GUID
= <IToastNotificationTriggerDetails
as ::windows
::core
::ComInterface
>::IID
;
2719 impl ::windows
::core
::RuntimeName
for ToastNotificationTriggerDetails
{
2720 const NAME
: &'
static str = "Windows.Phone.Notification.Management.ToastNotificationTriggerDetails";
2722 ::windows
::imp
::interface_hierarchy
!(ToastNotificationTriggerDetails
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2723 impl ::windows
::core
::CanTryInto
<IAccessoryNotificationTriggerDetails
> for ToastNotificationTriggerDetails {}
2724 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2725 #[repr(transparent)]
2726 pub struct VolumeInfo(::windows
::core
::IUnknown
);
2728 pub fn SystemVolume(&self) -> ::windows
::core
::Result
<u32> {
2731 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2732 (::windows
::core
::Interface
::vtable(this
).SystemVolume
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2735 pub fn CallVolume(&self) -> ::windows
::core
::Result
<u32> {
2738 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2739 (::windows
::core
::Interface
::vtable(this
).CallVolume
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2742 pub fn MediaVolume(&self) -> ::windows
::core
::Result
<u32> {
2745 let mut result__
= ::windows
::core
::zeroed
::<u32>();
2746 (::windows
::core
::Interface
::vtable(this
).MediaVolume
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2749 pub fn IsMuted(&self) -> ::windows
::core
::Result
<bool
> {
2752 let mut result__
= ::windows
::core
::zeroed
::<bool
>();
2753 (::windows
::core
::Interface
::vtable(this
).IsMuted
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2756 pub fn IsVibrateEnabled(&self) -> ::windows
::core
::Result
<VibrateState
> {
2759 let mut result__
= ::windows
::core
::zeroed
::<VibrateState
>();
2760 (::windows
::core
::Interface
::vtable(this
).IsVibrateEnabled
)(::windows
::core
::Interface
::as_raw(this
), &mut result__
).from_abi(result__
)
2764 impl ::core
::cmp
::PartialEq
for VolumeInfo
{
2765 fn eq(&self, other
: &Self) -> bool
{
2769 impl ::core
::cmp
::Eq
for VolumeInfo {}
2770 impl ::core
::fmt
::Debug
for VolumeInfo
{
2771 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2772 f
.debug_tuple("VolumeInfo").field(&self.0).finish()
2775 impl ::windows
::core
::RuntimeType
for VolumeInfo
{
2776 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"rc(Windows.Phone.Notification.Management.VolumeInfo;{944dd118-7704-4481-b92e-d3ed3ece6322})");
2778 impl ::core
::clone
::Clone
for VolumeInfo
{
2779 fn clone(&self) -> Self {
2780 Self(self.0.clone())
2783 unsafe impl ::windows
::core
::Interface
for VolumeInfo
{
2784 type Vtable
= IVolumeInfo_Vtbl
;
2786 unsafe impl ::windows
::core
::ComInterface
for VolumeInfo
{
2787 const IID
: ::windows
::core
::GUID
= <IVolumeInfo
as ::windows
::core
::ComInterface
>::IID
;
2789 impl ::windows
::core
::RuntimeName
for VolumeInfo
{
2790 const NAME
: &'
static str = "Windows.Phone.Notification.Management.VolumeInfo";
2792 ::windows
::imp
::interface_hierarchy
!(VolumeInfo
, ::windows
::core
::IUnknown
, ::windows
::core
::IInspectable
);
2793 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2794 #[repr(transparent)]
2795 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
2796 pub struct AccessoryNotificationType(pub u32);
2797 impl AccessoryNotificationType
{
2798 pub const None
: Self = Self(0u32);
2799 pub const Phone
: Self = Self(1u32);
2800 pub const Email
: Self = Self(2u32);
2801 pub const Reminder
: Self = Self(4u32);
2802 pub const Alarm
: Self = Self(8u32);
2803 pub const Toast
: Self = Self(16u32);
2804 pub const AppUninstalled
: Self = Self(32u32);
2805 pub const Dnd
: Self = Self(64u32);
2806 pub const DrivingMode
: Self = Self(128u32);
2807 pub const BatterySaver
: Self = Self(256u32);
2808 pub const Media
: Self = Self(512u32);
2809 pub const CortanaTile
: Self = Self(1024u32);
2810 pub const ToastCleared
: Self = Self(2048u32);
2811 pub const CalendarChanged
: Self = Self(4096u32);
2812 pub const VolumeChanged
: Self = Self(8192u32);
2813 pub const EmailReadStatusChanged
: Self = Self(16384u32);
2815 impl ::core
::marker
::Copy
for AccessoryNotificationType {}
2816 impl ::core
::clone
::Clone
for AccessoryNotificationType
{
2817 fn clone(&self) -> Self {
2821 impl ::core
::default::Default
for AccessoryNotificationType
{
2822 fn default() -> Self {
2826 impl ::windows
::core
::TypeKind
for AccessoryNotificationType
{
2827 type TypeKind
= ::windows
::core
::CopyType
;
2829 impl ::core
::fmt
::Debug
for AccessoryNotificationType
{
2830 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2831 f
.debug_tuple("AccessoryNotificationType").field(&self.0).finish()
2834 impl AccessoryNotificationType
{
2835 pub const fn contains(&self, other
: Self) -> bool
{
2836 self.0 & other
.0 == other
.0
2839 impl ::core
::ops
::BitOr
for AccessoryNotificationType
{
2841 fn bitor(self, other
: Self) -> Self {
2842 Self(self.0 | other
.0)
2845 impl ::core
::ops
::BitAnd
for AccessoryNotificationType
{
2847 fn bitand(self, other
: Self) -> Self {
2848 Self(self.0 & other
.0)
2851 impl ::core
::ops
::BitOrAssign
for AccessoryNotificationType
{
2852 fn bitor_assign(&mut self, other
: Self) {
2853 self.0.bitor_assign(other
.0)
2856 impl ::core
::ops
::BitAndAssign
for AccessoryNotificationType
{
2857 fn bitand_assign(&mut self, other
: Self) {
2858 self.0.bitand_assign(other
.0)
2861 impl ::core
::ops
::Not
for AccessoryNotificationType
{
2863 fn not(self) -> Self {
2867 impl ::windows
::core
::RuntimeType
for AccessoryNotificationType
{
2868 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.AccessoryNotificationType;u4)");
2870 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2871 #[repr(transparent)]
2872 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
2873 pub struct CalendarChangedEvent(pub i32);
2874 impl CalendarChangedEvent
{
2875 pub const LostEvents
: Self = Self(0i32);
2876 pub const AppointmentAdded
: Self = Self(1i32);
2877 pub const AppointmentChanged
: Self = Self(2i32);
2878 pub const AppointmentDeleted
: Self = Self(3i32);
2879 pub const CalendarAdded
: Self = Self(4i32);
2880 pub const CalendarChanged
: Self = Self(5i32);
2881 pub const CalendarDeleted
: Self = Self(6i32);
2883 impl ::core
::marker
::Copy
for CalendarChangedEvent {}
2884 impl ::core
::clone
::Clone
for CalendarChangedEvent
{
2885 fn clone(&self) -> Self {
2889 impl ::core
::default::Default
for CalendarChangedEvent
{
2890 fn default() -> Self {
2894 impl ::windows
::core
::TypeKind
for CalendarChangedEvent
{
2895 type TypeKind
= ::windows
::core
::CopyType
;
2897 impl ::core
::fmt
::Debug
for CalendarChangedEvent
{
2898 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2899 f
.debug_tuple("CalendarChangedEvent").field(&self.0).finish()
2902 impl ::windows
::core
::RuntimeType
for CalendarChangedEvent
{
2903 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.CalendarChangedEvent;i4)");
2905 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2906 #[repr(transparent)]
2907 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
2908 pub struct PhoneCallAudioEndpoint(pub i32);
2909 impl PhoneCallAudioEndpoint
{
2910 pub const Default
: Self = Self(0i32);
2911 pub const Speaker
: Self = Self(1i32);
2912 pub const Handsfree
: Self = Self(2i32);
2914 impl ::core
::marker
::Copy
for PhoneCallAudioEndpoint {}
2915 impl ::core
::clone
::Clone
for PhoneCallAudioEndpoint
{
2916 fn clone(&self) -> Self {
2920 impl ::core
::default::Default
for PhoneCallAudioEndpoint
{
2921 fn default() -> Self {
2925 impl ::windows
::core
::TypeKind
for PhoneCallAudioEndpoint
{
2926 type TypeKind
= ::windows
::core
::CopyType
;
2928 impl ::core
::fmt
::Debug
for PhoneCallAudioEndpoint
{
2929 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2930 f
.debug_tuple("PhoneCallAudioEndpoint").field(&self.0).finish()
2933 impl ::windows
::core
::RuntimeType
for PhoneCallAudioEndpoint
{
2934 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PhoneCallAudioEndpoint;i4)");
2936 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2937 #[repr(transparent)]
2938 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
2939 pub struct PhoneCallDirection(pub i32);
2940 impl PhoneCallDirection
{
2941 pub const Incoming
: Self = Self(0i32);
2942 pub const Outgoing
: Self = Self(1i32);
2944 impl ::core
::marker
::Copy
for PhoneCallDirection {}
2945 impl ::core
::clone
::Clone
for PhoneCallDirection
{
2946 fn clone(&self) -> Self {
2950 impl ::core
::default::Default
for PhoneCallDirection
{
2951 fn default() -> Self {
2955 impl ::windows
::core
::TypeKind
for PhoneCallDirection
{
2956 type TypeKind
= ::windows
::core
::CopyType
;
2958 impl ::core
::fmt
::Debug
for PhoneCallDirection
{
2959 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2960 f
.debug_tuple("PhoneCallDirection").field(&self.0).finish()
2963 impl ::windows
::core
::RuntimeType
for PhoneCallDirection
{
2964 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PhoneCallDirection;i4)");
2966 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2967 #[repr(transparent)]
2968 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
2969 pub struct PhoneCallState(pub i32);
2970 impl PhoneCallState
{
2971 pub const Unknown
: Self = Self(0i32);
2972 pub const Ringing
: Self = Self(1i32);
2973 pub const Talking
: Self = Self(2i32);
2974 pub const Held
: Self = Self(3i32);
2975 pub const Ended
: Self = Self(4i32);
2977 impl ::core
::marker
::Copy
for PhoneCallState {}
2978 impl ::core
::clone
::Clone
for PhoneCallState
{
2979 fn clone(&self) -> Self {
2983 impl ::core
::default::Default
for PhoneCallState
{
2984 fn default() -> Self {
2988 impl ::windows
::core
::TypeKind
for PhoneCallState
{
2989 type TypeKind
= ::windows
::core
::CopyType
;
2991 impl ::core
::fmt
::Debug
for PhoneCallState
{
2992 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2993 f
.debug_tuple("PhoneCallState").field(&self.0).finish()
2996 impl ::windows
::core
::RuntimeType
for PhoneCallState
{
2997 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PhoneCallState;i4)");
2999 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3000 #[repr(transparent)]
3001 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3002 pub struct PhoneCallTransport(pub i32);
3003 impl PhoneCallTransport
{
3004 pub const Cellular
: Self = Self(0i32);
3005 pub const Voip
: Self = Self(1i32);
3007 impl ::core
::marker
::Copy
for PhoneCallTransport {}
3008 impl ::core
::clone
::Clone
for PhoneCallTransport
{
3009 fn clone(&self) -> Self {
3013 impl ::core
::default::Default
for PhoneCallTransport
{
3014 fn default() -> Self {
3018 impl ::windows
::core
::TypeKind
for PhoneCallTransport
{
3019 type TypeKind
= ::windows
::core
::CopyType
;
3021 impl ::core
::fmt
::Debug
for PhoneCallTransport
{
3022 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3023 f
.debug_tuple("PhoneCallTransport").field(&self.0).finish()
3026 impl ::windows
::core
::RuntimeType
for PhoneCallTransport
{
3027 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PhoneCallTransport;i4)");
3029 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3030 #[repr(transparent)]
3031 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3032 pub struct PhoneLineRegistrationState(pub i32);
3033 impl PhoneLineRegistrationState
{
3034 pub const Disconnected
: Self = Self(0i32);
3035 pub const Home
: Self = Self(1i32);
3036 pub const Roaming
: Self = Self(2i32);
3038 impl ::core
::marker
::Copy
for PhoneLineRegistrationState {}
3039 impl ::core
::clone
::Clone
for PhoneLineRegistrationState
{
3040 fn clone(&self) -> Self {
3044 impl ::core
::default::Default
for PhoneLineRegistrationState
{
3045 fn default() -> Self {
3049 impl ::windows
::core
::TypeKind
for PhoneLineRegistrationState
{
3050 type TypeKind
= ::windows
::core
::CopyType
;
3052 impl ::core
::fmt
::Debug
for PhoneLineRegistrationState
{
3053 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3054 f
.debug_tuple("PhoneLineRegistrationState").field(&self.0).finish()
3057 impl ::windows
::core
::RuntimeType
for PhoneLineRegistrationState
{
3058 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PhoneLineRegistrationState;i4)");
3060 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3061 #[repr(transparent)]
3062 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3063 pub struct PhoneMediaType(pub i32);
3064 impl PhoneMediaType
{
3065 pub const AudioOnly
: Self = Self(0i32);
3066 pub const AudioVideo
: Self = Self(1i32);
3068 impl ::core
::marker
::Copy
for PhoneMediaType {}
3069 impl ::core
::clone
::Clone
for PhoneMediaType
{
3070 fn clone(&self) -> Self {
3074 impl ::core
::default::Default
for PhoneMediaType
{
3075 fn default() -> Self {
3079 impl ::windows
::core
::TypeKind
for PhoneMediaType
{
3080 type TypeKind
= ::windows
::core
::CopyType
;
3082 impl ::core
::fmt
::Debug
for PhoneMediaType
{
3083 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3084 f
.debug_tuple("PhoneMediaType").field(&self.0).finish()
3087 impl ::windows
::core
::RuntimeType
for PhoneMediaType
{
3088 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PhoneMediaType;i4)");
3090 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3091 #[repr(transparent)]
3092 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3093 pub struct PhoneNotificationType(pub i32);
3094 impl PhoneNotificationType
{
3095 pub const NewCall
: Self = Self(0i32);
3096 pub const CallChanged
: Self = Self(1i32);
3097 pub const LineChanged
: Self = Self(2i32);
3098 pub const PhoneCallAudioEndpointChanged
: Self = Self(3i32);
3099 pub const PhoneMuteChanged
: Self = Self(4i32);
3101 impl ::core
::marker
::Copy
for PhoneNotificationType {}
3102 impl ::core
::clone
::Clone
for PhoneNotificationType
{
3103 fn clone(&self) -> Self {
3107 impl ::core
::default::Default
for PhoneNotificationType
{
3108 fn default() -> Self {
3112 impl ::windows
::core
::TypeKind
for PhoneNotificationType
{
3113 type TypeKind
= ::windows
::core
::CopyType
;
3115 impl ::core
::fmt
::Debug
for PhoneNotificationType
{
3116 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3117 f
.debug_tuple("PhoneNotificationType").field(&self.0).finish()
3120 impl ::windows
::core
::RuntimeType
for PhoneNotificationType
{
3121 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PhoneNotificationType;i4)");
3123 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3124 #[repr(transparent)]
3125 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3126 pub struct PlaybackCapability(pub u32);
3127 impl PlaybackCapability
{
3128 pub const None
: Self = Self(0u32);
3129 pub const Play
: Self = Self(1u32);
3130 pub const Pause
: Self = Self(2u32);
3131 pub const Stop
: Self = Self(4u32);
3132 pub const Record
: Self = Self(8u32);
3133 pub const FastForward
: Self = Self(16u32);
3134 pub const Rewind
: Self = Self(32u32);
3135 pub const Next
: Self = Self(64u32);
3136 pub const Previous
: Self = Self(128u32);
3137 pub const ChannelUp
: Self = Self(256u32);
3138 pub const ChannelDown
: Self = Self(512u32);
3140 impl ::core
::marker
::Copy
for PlaybackCapability {}
3141 impl ::core
::clone
::Clone
for PlaybackCapability
{
3142 fn clone(&self) -> Self {
3146 impl ::core
::default::Default
for PlaybackCapability
{
3147 fn default() -> Self {
3151 impl ::windows
::core
::TypeKind
for PlaybackCapability
{
3152 type TypeKind
= ::windows
::core
::CopyType
;
3154 impl ::core
::fmt
::Debug
for PlaybackCapability
{
3155 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3156 f
.debug_tuple("PlaybackCapability").field(&self.0).finish()
3159 impl PlaybackCapability
{
3160 pub const fn contains(&self, other
: Self) -> bool
{
3161 self.0 & other
.0 == other
.0
3164 impl ::core
::ops
::BitOr
for PlaybackCapability
{
3166 fn bitor(self, other
: Self) -> Self {
3167 Self(self.0 | other
.0)
3170 impl ::core
::ops
::BitAnd
for PlaybackCapability
{
3172 fn bitand(self, other
: Self) -> Self {
3173 Self(self.0 & other
.0)
3176 impl ::core
::ops
::BitOrAssign
for PlaybackCapability
{
3177 fn bitor_assign(&mut self, other
: Self) {
3178 self.0.bitor_assign(other
.0)
3181 impl ::core
::ops
::BitAndAssign
for PlaybackCapability
{
3182 fn bitand_assign(&mut self, other
: Self) {
3183 self.0.bitand_assign(other
.0)
3186 impl ::core
::ops
::Not
for PlaybackCapability
{
3188 fn not(self) -> Self {
3192 impl ::windows
::core
::RuntimeType
for PlaybackCapability
{
3193 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PlaybackCapability;u4)");
3195 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3196 #[repr(transparent)]
3197 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3198 pub struct PlaybackCommand(pub i32);
3199 impl PlaybackCommand
{
3200 pub const Play
: Self = Self(0i32);
3201 pub const Pause
: Self = Self(1i32);
3202 pub const Stop
: Self = Self(2i32);
3203 pub const Record
: Self = Self(3i32);
3204 pub const FastForward
: Self = Self(4i32);
3205 pub const Rewind
: Self = Self(5i32);
3206 pub const Next
: Self = Self(6i32);
3207 pub const Previous
: Self = Self(7i32);
3208 pub const ChannelUp
: Self = Self(8i32);
3209 pub const ChannelDown
: Self = Self(9i32);
3211 impl ::core
::marker
::Copy
for PlaybackCommand {}
3212 impl ::core
::clone
::Clone
for PlaybackCommand
{
3213 fn clone(&self) -> Self {
3217 impl ::core
::default::Default
for PlaybackCommand
{
3218 fn default() -> Self {
3222 impl ::windows
::core
::TypeKind
for PlaybackCommand
{
3223 type TypeKind
= ::windows
::core
::CopyType
;
3225 impl ::core
::fmt
::Debug
for PlaybackCommand
{
3226 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3227 f
.debug_tuple("PlaybackCommand").field(&self.0).finish()
3230 impl ::windows
::core
::RuntimeType
for PlaybackCommand
{
3231 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PlaybackCommand;i4)");
3233 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3234 #[repr(transparent)]
3235 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3236 pub struct PlaybackStatus(pub i32);
3237 impl PlaybackStatus
{
3238 pub const None
: Self = Self(0i32);
3239 pub const TrackChanged
: Self = Self(1i32);
3240 pub const Stopped
: Self = Self(2i32);
3241 pub const Playing
: Self = Self(3i32);
3242 pub const Paused
: Self = Self(4i32);
3244 impl ::core
::marker
::Copy
for PlaybackStatus {}
3245 impl ::core
::clone
::Clone
for PlaybackStatus
{
3246 fn clone(&self) -> Self {
3250 impl ::core
::default::Default
for PlaybackStatus
{
3251 fn default() -> Self {
3255 impl ::windows
::core
::TypeKind
for PlaybackStatus
{
3256 type TypeKind
= ::windows
::core
::CopyType
;
3258 impl ::core
::fmt
::Debug
for PlaybackStatus
{
3259 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3260 f
.debug_tuple("PlaybackStatus").field(&self.0).finish()
3263 impl ::windows
::core
::RuntimeType
for PlaybackStatus
{
3264 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.PlaybackStatus;i4)");
3266 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3267 #[repr(transparent)]
3268 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3269 pub struct ReminderState(pub i32);
3270 impl ReminderState
{
3271 pub const Active
: Self = Self(0i32);
3272 pub const Snoozed
: Self = Self(1i32);
3273 pub const Dismissed
: Self = Self(2i32);
3275 impl ::core
::marker
::Copy
for ReminderState {}
3276 impl ::core
::clone
::Clone
for ReminderState
{
3277 fn clone(&self) -> Self {
3281 impl ::core
::default::Default
for ReminderState
{
3282 fn default() -> Self {
3286 impl ::windows
::core
::TypeKind
for ReminderState
{
3287 type TypeKind
= ::windows
::core
::CopyType
;
3289 impl ::core
::fmt
::Debug
for ReminderState
{
3290 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3291 f
.debug_tuple("ReminderState").field(&self.0).finish()
3294 impl ::windows
::core
::RuntimeType
for ReminderState
{
3295 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.ReminderState;i4)");
3297 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
3298 #[repr(transparent)]
3299 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
3300 pub struct VibrateState(pub i32);
3302 pub const RingerOffVibrateOff
: Self = Self(0i32);
3303 pub const RingerOffVibrateOn
: Self = Self(1i32);
3304 pub const RingerOnVibrateOff
: Self = Self(2i32);
3305 pub const RingerOnVibrateOn
: Self = Self(3i32);
3307 impl ::core
::marker
::Copy
for VibrateState {}
3308 impl ::core
::clone
::Clone
for VibrateState
{
3309 fn clone(&self) -> Self {
3313 impl ::core
::default::Default
for VibrateState
{
3314 fn default() -> Self {
3318 impl ::windows
::core
::TypeKind
for VibrateState
{
3319 type TypeKind
= ::windows
::core
::CopyType
;
3321 impl ::core
::fmt
::Debug
for VibrateState
{
3322 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3323 f
.debug_tuple("VibrateState").field(&self.0).finish()
3326 impl ::windows
::core
::RuntimeType
for VibrateState
{
3327 const SIGNATURE
: ::windows
::imp
::ConstBuffer
= ::windows
::imp
::ConstBuffer
::from_slice(b
"enum(Windows.Phone.Notification.Management.VibrateState;i4)");
3329 #[cfg(feature = "implement")]
3330 ::core
::include
!("impl.rs");