summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs254
1 files changed, 254 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs
new file mode 100644
index 000000000..db2b7a114
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/ApplicationModel/Chat/mod.rs
@@ -0,0 +1,254 @@
+pub type ChatCapabilities = *mut ::core::ffi::c_void;
+pub type ChatConversation = *mut ::core::ffi::c_void;
+pub type ChatConversationReader = *mut ::core::ffi::c_void;
+pub type ChatConversationThreadingInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatConversationThreadingKind(pub i32);
+impl ChatConversationThreadingKind {
+ pub const Participants: Self = Self(0i32);
+ pub const ContactId: Self = Self(1i32);
+ pub const ConversationId: Self = Self(2i32);
+ pub const Custom: Self = Self(3i32);
+}
+impl ::core::marker::Copy for ChatConversationThreadingKind {}
+impl ::core::clone::Clone for ChatConversationThreadingKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatItemKind(pub i32);
+impl ChatItemKind {
+ pub const Message: Self = Self(0i32);
+ pub const Conversation: Self = Self(1i32);
+}
+impl ::core::marker::Copy for ChatItemKind {}
+impl ::core::clone::Clone for ChatItemKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatMessage = *mut ::core::ffi::c_void;
+pub type ChatMessageAttachment = *mut ::core::ffi::c_void;
+pub type ChatMessageChange = *mut ::core::ffi::c_void;
+pub type ChatMessageChangeReader = *mut ::core::ffi::c_void;
+pub type ChatMessageChangeTracker = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatMessageChangeType(pub i32);
+impl ChatMessageChangeType {
+ pub const MessageCreated: Self = Self(0i32);
+ pub const MessageModified: Self = Self(1i32);
+ pub const MessageDeleted: Self = Self(2i32);
+ pub const ChangeTrackingLost: Self = Self(3i32);
+}
+impl ::core::marker::Copy for ChatMessageChangeType {}
+impl ::core::clone::Clone for ChatMessageChangeType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatMessageChangedDeferral = *mut ::core::ffi::c_void;
+pub type ChatMessageChangedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatMessageKind(pub i32);
+impl ChatMessageKind {
+ pub const Standard: Self = Self(0i32);
+ pub const FileTransferRequest: Self = Self(1i32);
+ pub const TransportCustom: Self = Self(2i32);
+ pub const JoinedConversation: Self = Self(3i32);
+ pub const LeftConversation: Self = Self(4i32);
+ pub const OtherParticipantJoinedConversation: Self = Self(5i32);
+ pub const OtherParticipantLeftConversation: Self = Self(6i32);
+}
+impl ::core::marker::Copy for ChatMessageKind {}
+impl ::core::clone::Clone for ChatMessageKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatMessageNotificationTriggerDetails = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatMessageOperatorKind(pub i32);
+impl ChatMessageOperatorKind {
+ pub const Unspecified: Self = Self(0i32);
+ pub const Sms: Self = Self(1i32);
+ pub const Mms: Self = Self(2i32);
+ pub const Rcs: Self = Self(3i32);
+}
+impl ::core::marker::Copy for ChatMessageOperatorKind {}
+impl ::core::clone::Clone for ChatMessageOperatorKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatMessageReader = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatMessageStatus(pub i32);
+impl ChatMessageStatus {
+ pub const Draft: Self = Self(0i32);
+ pub const Sending: Self = Self(1i32);
+ pub const Sent: Self = Self(2i32);
+ pub const SendRetryNeeded: Self = Self(3i32);
+ pub const SendFailed: Self = Self(4i32);
+ pub const Received: Self = Self(5i32);
+ pub const ReceiveDownloadNeeded: Self = Self(6i32);
+ pub const ReceiveDownloadFailed: Self = Self(7i32);
+ pub const ReceiveDownloading: Self = Self(8i32);
+ pub const Deleted: Self = Self(9i32);
+ pub const Declined: Self = Self(10i32);
+ pub const Cancelled: Self = Self(11i32);
+ pub const Recalled: Self = Self(12i32);
+ pub const ReceiveRetryNeeded: Self = Self(13i32);
+}
+impl ::core::marker::Copy for ChatMessageStatus {}
+impl ::core::clone::Clone for ChatMessageStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatMessageStore = *mut ::core::ffi::c_void;
+pub type ChatMessageStoreChangedEventArgs = *mut ::core::ffi::c_void;
+pub type ChatMessageTransport = *mut ::core::ffi::c_void;
+pub type ChatMessageTransportConfiguration = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatMessageTransportKind(pub i32);
+impl ChatMessageTransportKind {
+ pub const Text: Self = Self(0i32);
+ pub const Untriaged: Self = Self(1i32);
+ pub const Blocked: Self = Self(2i32);
+ pub const Custom: Self = Self(3i32);
+}
+impl ::core::marker::Copy for ChatMessageTransportKind {}
+impl ::core::clone::Clone for ChatMessageTransportKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatMessageValidationResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatMessageValidationStatus(pub i32);
+impl ChatMessageValidationStatus {
+ pub const Valid: Self = Self(0i32);
+ pub const NoRecipients: Self = Self(1i32);
+ pub const InvalidData: Self = Self(2i32);
+ pub const MessageTooLarge: Self = Self(3i32);
+ pub const TooManyRecipients: Self = Self(4i32);
+ pub const TransportInactive: Self = Self(5i32);
+ pub const TransportNotFound: Self = Self(6i32);
+ pub const TooManyAttachments: Self = Self(7i32);
+ pub const InvalidRecipients: Self = Self(8i32);
+ pub const InvalidBody: Self = Self(9i32);
+ pub const InvalidOther: Self = Self(10i32);
+ pub const ValidWithLargeMessage: Self = Self(11i32);
+ pub const VoiceRoamingRestriction: Self = Self(12i32);
+ pub const DataRoamingRestriction: Self = Self(13i32);
+}
+impl ::core::marker::Copy for ChatMessageValidationStatus {}
+impl ::core::clone::Clone for ChatMessageValidationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatQueryOptions = *mut ::core::ffi::c_void;
+pub type ChatRecipientDeliveryInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatRestoreHistorySpan(pub i32);
+impl ChatRestoreHistorySpan {
+ pub const LastMonth: Self = Self(0i32);
+ pub const LastYear: Self = Self(1i32);
+ pub const AnyTime: Self = Self(2i32);
+}
+impl ::core::marker::Copy for ChatRestoreHistorySpan {}
+impl ::core::clone::Clone for ChatRestoreHistorySpan {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatSearchReader = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatStoreChangedEventKind(pub i32);
+impl ChatStoreChangedEventKind {
+ pub const NotificationsMissed: Self = Self(0i32);
+ pub const StoreModified: Self = Self(1i32);
+ pub const MessageCreated: Self = Self(2i32);
+ pub const MessageModified: Self = Self(3i32);
+ pub const MessageDeleted: Self = Self(4i32);
+ pub const ConversationModified: Self = Self(5i32);
+ pub const ConversationDeleted: Self = Self(6i32);
+ pub const ConversationTransportDeleted: Self = Self(7i32);
+}
+impl ::core::marker::Copy for ChatStoreChangedEventKind {}
+impl ::core::clone::Clone for ChatStoreChangedEventKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ChatSyncConfiguration = *mut ::core::ffi::c_void;
+pub type ChatSyncManager = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatTransportErrorCodeCategory(pub i32);
+impl ChatTransportErrorCodeCategory {
+ pub const None: Self = Self(0i32);
+ pub const Http: Self = Self(1i32);
+ pub const Network: Self = Self(2i32);
+ pub const MmsServer: Self = Self(3i32);
+}
+impl ::core::marker::Copy for ChatTransportErrorCodeCategory {}
+impl ::core::clone::Clone for ChatTransportErrorCodeCategory {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct ChatTransportInterpretedErrorCode(pub i32);
+impl ChatTransportInterpretedErrorCode {
+ pub const None: Self = Self(0i32);
+ pub const Unknown: Self = Self(1i32);
+ pub const InvalidRecipientAddress: Self = Self(2i32);
+ pub const NetworkConnectivity: Self = Self(3i32);
+ pub const ServiceDenied: Self = Self(4i32);
+ pub const Timeout: Self = Self(5i32);
+}
+impl ::core::marker::Copy for ChatTransportInterpretedErrorCode {}
+impl ::core::clone::Clone for ChatTransportInterpretedErrorCode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IChatItem = *mut ::core::ffi::c_void;
+pub type RcsEndUserMessage = *mut ::core::ffi::c_void;
+pub type RcsEndUserMessageAction = *mut ::core::ffi::c_void;
+pub type RcsEndUserMessageAvailableEventArgs = *mut ::core::ffi::c_void;
+pub type RcsEndUserMessageAvailableTriggerDetails = *mut ::core::ffi::c_void;
+pub type RcsEndUserMessageManager = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_Chat\"`*"]
+#[repr(transparent)]
+pub struct RcsServiceKind(pub i32);
+impl RcsServiceKind {
+ pub const Chat: Self = Self(0i32);
+ pub const GroupChat: Self = Self(1i32);
+ pub const FileTransfer: Self = Self(2i32);
+ pub const Capability: Self = Self(3i32);
+}
+impl ::core::marker::Copy for RcsServiceKind {}
+impl ::core::clone::Clone for RcsServiceKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RcsServiceKindSupportedChangedEventArgs = *mut ::core::ffi::c_void;
+pub type RcsTransport = *mut ::core::ffi::c_void;
+pub type RcsTransportConfiguration = *mut ::core::ffi::c_void;
+pub type RemoteParticipantComposingChangedEventArgs = *mut ::core::ffi::c_void;