]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / Chat / mod.rs
CommitLineData
5e7ed085
FG
1pub type ChatCapabilities = *mut ::core::ffi::c_void;
2pub type ChatConversation = *mut ::core::ffi::c_void;
3pub type ChatConversationReader = *mut ::core::ffi::c_void;
4pub type ChatConversationThreadingInfo = *mut ::core::ffi::c_void;
04454e1e 5#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
6#[repr(transparent)]
7pub struct ChatConversationThreadingKind(pub i32);
8impl ChatConversationThreadingKind {
9 pub const Participants: Self = Self(0i32);
10 pub const ContactId: Self = Self(1i32);
11 pub const ConversationId: Self = Self(2i32);
12 pub const Custom: Self = Self(3i32);
13}
14impl ::core::marker::Copy for ChatConversationThreadingKind {}
15impl ::core::clone::Clone for ChatConversationThreadingKind {
16 fn clone(&self) -> Self {
17 *self
18 }
19}
04454e1e 20#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
21#[repr(transparent)]
22pub struct ChatItemKind(pub i32);
23impl ChatItemKind {
24 pub const Message: Self = Self(0i32);
25 pub const Conversation: Self = Self(1i32);
26}
27impl ::core::marker::Copy for ChatItemKind {}
28impl ::core::clone::Clone for ChatItemKind {
29 fn clone(&self) -> Self {
30 *self
31 }
32}
33pub type ChatMessage = *mut ::core::ffi::c_void;
34pub type ChatMessageAttachment = *mut ::core::ffi::c_void;
35pub type ChatMessageChange = *mut ::core::ffi::c_void;
36pub type ChatMessageChangeReader = *mut ::core::ffi::c_void;
37pub type ChatMessageChangeTracker = *mut ::core::ffi::c_void;
04454e1e 38#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
39#[repr(transparent)]
40pub struct ChatMessageChangeType(pub i32);
41impl ChatMessageChangeType {
42 pub const MessageCreated: Self = Self(0i32);
43 pub const MessageModified: Self = Self(1i32);
44 pub const MessageDeleted: Self = Self(2i32);
45 pub const ChangeTrackingLost: Self = Self(3i32);
46}
47impl ::core::marker::Copy for ChatMessageChangeType {}
48impl ::core::clone::Clone for ChatMessageChangeType {
49 fn clone(&self) -> Self {
50 *self
51 }
52}
53pub type ChatMessageChangedDeferral = *mut ::core::ffi::c_void;
54pub type ChatMessageChangedEventArgs = *mut ::core::ffi::c_void;
04454e1e 55#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
56#[repr(transparent)]
57pub struct ChatMessageKind(pub i32);
58impl ChatMessageKind {
59 pub const Standard: Self = Self(0i32);
60 pub const FileTransferRequest: Self = Self(1i32);
61 pub const TransportCustom: Self = Self(2i32);
62 pub const JoinedConversation: Self = Self(3i32);
63 pub const LeftConversation: Self = Self(4i32);
64 pub const OtherParticipantJoinedConversation: Self = Self(5i32);
65 pub const OtherParticipantLeftConversation: Self = Self(6i32);
66}
67impl ::core::marker::Copy for ChatMessageKind {}
68impl ::core::clone::Clone for ChatMessageKind {
69 fn clone(&self) -> Self {
70 *self
71 }
72}
73pub type ChatMessageNotificationTriggerDetails = *mut ::core::ffi::c_void;
04454e1e 74#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
75#[repr(transparent)]
76pub struct ChatMessageOperatorKind(pub i32);
77impl ChatMessageOperatorKind {
78 pub const Unspecified: Self = Self(0i32);
79 pub const Sms: Self = Self(1i32);
80 pub const Mms: Self = Self(2i32);
81 pub const Rcs: Self = Self(3i32);
82}
83impl ::core::marker::Copy for ChatMessageOperatorKind {}
84impl ::core::clone::Clone for ChatMessageOperatorKind {
85 fn clone(&self) -> Self {
86 *self
87 }
88}
89pub type ChatMessageReader = *mut ::core::ffi::c_void;
04454e1e 90#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
91#[repr(transparent)]
92pub struct ChatMessageStatus(pub i32);
93impl ChatMessageStatus {
94 pub const Draft: Self = Self(0i32);
95 pub const Sending: Self = Self(1i32);
96 pub const Sent: Self = Self(2i32);
97 pub const SendRetryNeeded: Self = Self(3i32);
98 pub const SendFailed: Self = Self(4i32);
99 pub const Received: Self = Self(5i32);
100 pub const ReceiveDownloadNeeded: Self = Self(6i32);
101 pub const ReceiveDownloadFailed: Self = Self(7i32);
102 pub const ReceiveDownloading: Self = Self(8i32);
103 pub const Deleted: Self = Self(9i32);
104 pub const Declined: Self = Self(10i32);
105 pub const Cancelled: Self = Self(11i32);
106 pub const Recalled: Self = Self(12i32);
107 pub const ReceiveRetryNeeded: Self = Self(13i32);
108}
109impl ::core::marker::Copy for ChatMessageStatus {}
110impl ::core::clone::Clone for ChatMessageStatus {
111 fn clone(&self) -> Self {
112 *self
113 }
114}
115pub type ChatMessageStore = *mut ::core::ffi::c_void;
116pub type ChatMessageStoreChangedEventArgs = *mut ::core::ffi::c_void;
117pub type ChatMessageTransport = *mut ::core::ffi::c_void;
118pub type ChatMessageTransportConfiguration = *mut ::core::ffi::c_void;
04454e1e 119#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
120#[repr(transparent)]
121pub struct ChatMessageTransportKind(pub i32);
122impl ChatMessageTransportKind {
123 pub const Text: Self = Self(0i32);
124 pub const Untriaged: Self = Self(1i32);
125 pub const Blocked: Self = Self(2i32);
126 pub const Custom: Self = Self(3i32);
127}
128impl ::core::marker::Copy for ChatMessageTransportKind {}
129impl ::core::clone::Clone for ChatMessageTransportKind {
130 fn clone(&self) -> Self {
131 *self
132 }
133}
134pub type ChatMessageValidationResult = *mut ::core::ffi::c_void;
04454e1e 135#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
136#[repr(transparent)]
137pub struct ChatMessageValidationStatus(pub i32);
138impl ChatMessageValidationStatus {
139 pub const Valid: Self = Self(0i32);
140 pub const NoRecipients: Self = Self(1i32);
141 pub const InvalidData: Self = Self(2i32);
142 pub const MessageTooLarge: Self = Self(3i32);
143 pub const TooManyRecipients: Self = Self(4i32);
144 pub const TransportInactive: Self = Self(5i32);
145 pub const TransportNotFound: Self = Self(6i32);
146 pub const TooManyAttachments: Self = Self(7i32);
147 pub const InvalidRecipients: Self = Self(8i32);
148 pub const InvalidBody: Self = Self(9i32);
149 pub const InvalidOther: Self = Self(10i32);
150 pub const ValidWithLargeMessage: Self = Self(11i32);
151 pub const VoiceRoamingRestriction: Self = Self(12i32);
152 pub const DataRoamingRestriction: Self = Self(13i32);
153}
154impl ::core::marker::Copy for ChatMessageValidationStatus {}
155impl ::core::clone::Clone for ChatMessageValidationStatus {
156 fn clone(&self) -> Self {
157 *self
158 }
159}
160pub type ChatQueryOptions = *mut ::core::ffi::c_void;
161pub type ChatRecipientDeliveryInfo = *mut ::core::ffi::c_void;
04454e1e 162#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
163#[repr(transparent)]
164pub struct ChatRestoreHistorySpan(pub i32);
165impl ChatRestoreHistorySpan {
166 pub const LastMonth: Self = Self(0i32);
167 pub const LastYear: Self = Self(1i32);
168 pub const AnyTime: Self = Self(2i32);
169}
170impl ::core::marker::Copy for ChatRestoreHistorySpan {}
171impl ::core::clone::Clone for ChatRestoreHistorySpan {
172 fn clone(&self) -> Self {
173 *self
174 }
175}
176pub type ChatSearchReader = *mut ::core::ffi::c_void;
04454e1e 177#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
178#[repr(transparent)]
179pub struct ChatStoreChangedEventKind(pub i32);
180impl ChatStoreChangedEventKind {
181 pub const NotificationsMissed: Self = Self(0i32);
182 pub const StoreModified: Self = Self(1i32);
183 pub const MessageCreated: Self = Self(2i32);
184 pub const MessageModified: Self = Self(3i32);
185 pub const MessageDeleted: Self = Self(4i32);
186 pub const ConversationModified: Self = Self(5i32);
187 pub const ConversationDeleted: Self = Self(6i32);
188 pub const ConversationTransportDeleted: Self = Self(7i32);
189}
190impl ::core::marker::Copy for ChatStoreChangedEventKind {}
191impl ::core::clone::Clone for ChatStoreChangedEventKind {
192 fn clone(&self) -> Self {
193 *self
194 }
195}
196pub type ChatSyncConfiguration = *mut ::core::ffi::c_void;
197pub type ChatSyncManager = *mut ::core::ffi::c_void;
04454e1e 198#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
199#[repr(transparent)]
200pub struct ChatTransportErrorCodeCategory(pub i32);
201impl ChatTransportErrorCodeCategory {
202 pub const None: Self = Self(0i32);
203 pub const Http: Self = Self(1i32);
204 pub const Network: Self = Self(2i32);
205 pub const MmsServer: Self = Self(3i32);
206}
207impl ::core::marker::Copy for ChatTransportErrorCodeCategory {}
208impl ::core::clone::Clone for ChatTransportErrorCodeCategory {
209 fn clone(&self) -> Self {
210 *self
211 }
212}
04454e1e 213#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
214#[repr(transparent)]
215pub struct ChatTransportInterpretedErrorCode(pub i32);
216impl ChatTransportInterpretedErrorCode {
217 pub const None: Self = Self(0i32);
218 pub const Unknown: Self = Self(1i32);
219 pub const InvalidRecipientAddress: Self = Self(2i32);
220 pub const NetworkConnectivity: Self = Self(3i32);
221 pub const ServiceDenied: Self = Self(4i32);
222 pub const Timeout: Self = Self(5i32);
223}
224impl ::core::marker::Copy for ChatTransportInterpretedErrorCode {}
225impl ::core::clone::Clone for ChatTransportInterpretedErrorCode {
226 fn clone(&self) -> Self {
227 *self
228 }
229}
230pub type IChatItem = *mut ::core::ffi::c_void;
231pub type RcsEndUserMessage = *mut ::core::ffi::c_void;
232pub type RcsEndUserMessageAction = *mut ::core::ffi::c_void;
233pub type RcsEndUserMessageAvailableEventArgs = *mut ::core::ffi::c_void;
234pub type RcsEndUserMessageAvailableTriggerDetails = *mut ::core::ffi::c_void;
235pub type RcsEndUserMessageManager = *mut ::core::ffi::c_void;
04454e1e 236#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
5e7ed085
FG
237#[repr(transparent)]
238pub struct RcsServiceKind(pub i32);
239impl RcsServiceKind {
240 pub const Chat: Self = Self(0i32);
241 pub const GroupChat: Self = Self(1i32);
242 pub const FileTransfer: Self = Self(2i32);
243 pub const Capability: Self = Self(3i32);
244}
245impl ::core::marker::Copy for RcsServiceKind {}
246impl ::core::clone::Clone for RcsServiceKind {
247 fn clone(&self) -> Self {
248 *self
249 }
250}
251pub type RcsServiceKindSupportedChangedEventArgs = *mut ::core::ffi::c_void;
252pub type RcsTransport = *mut ::core::ffi::c_void;
253pub type RcsTransportConfiguration = *mut ::core::ffi::c_void;
254pub type RemoteParticipantComposingChangedEventArgs = *mut ::core::ffi::c_void;