]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Devices/Sms/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / Sms / mod.rs
CommitLineData
5e7ed085 1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
04454e1e 2#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
3#[repr(transparent)]
4pub struct CellularClass(pub i32);
5impl CellularClass {
6 pub const None: Self = Self(0i32);
7 pub const Gsm: Self = Self(1i32);
8 pub const Cdma: Self = Self(2i32);
9}
10impl ::core::marker::Copy for CellularClass {}
11impl ::core::clone::Clone for CellularClass {
12 fn clone(&self) -> Self {
13 *self
14 }
15}
16pub type DeleteSmsMessageOperation = *mut ::core::ffi::c_void;
17pub type DeleteSmsMessagesOperation = *mut ::core::ffi::c_void;
18pub type GetSmsDeviceOperation = *mut ::core::ffi::c_void;
19pub type GetSmsMessageOperation = *mut ::core::ffi::c_void;
20pub type GetSmsMessagesOperation = *mut ::core::ffi::c_void;
21pub type ISmsBinaryMessage = *mut ::core::ffi::c_void;
22pub type ISmsDevice = *mut ::core::ffi::c_void;
23pub type ISmsMessage = *mut ::core::ffi::c_void;
24pub type ISmsMessageBase = *mut ::core::ffi::c_void;
25pub type ISmsTextMessage = *mut ::core::ffi::c_void;
26pub type SendSmsMessageOperation = *mut ::core::ffi::c_void;
27pub type SmsAppMessage = *mut ::core::ffi::c_void;
28pub type SmsBinaryMessage = *mut ::core::ffi::c_void;
29pub type SmsBroadcastMessage = *mut ::core::ffi::c_void;
04454e1e 30#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
31#[repr(transparent)]
32pub struct SmsBroadcastType(pub i32);
33impl SmsBroadcastType {
34 pub const Other: Self = Self(0i32);
35 pub const CmasPresidential: Self = Self(1i32);
36 pub const CmasExtreme: Self = Self(2i32);
37 pub const CmasSevere: Self = Self(3i32);
38 pub const CmasAmber: Self = Self(4i32);
39 pub const CmasTest: Self = Self(5i32);
40 pub const EUAlert1: Self = Self(6i32);
41 pub const EUAlert2: Self = Self(7i32);
42 pub const EUAlert3: Self = Self(8i32);
43 pub const EUAlertAmber: Self = Self(9i32);
44 pub const EUAlertInfo: Self = Self(10i32);
45 pub const EtwsEarthquake: Self = Self(11i32);
46 pub const EtwsTsunami: Self = Self(12i32);
47 pub const EtwsTsunamiAndEarthquake: Self = Self(13i32);
48 pub const LatAlertLocal: Self = Self(14i32);
49}
50impl ::core::marker::Copy for SmsBroadcastType {}
51impl ::core::clone::Clone for SmsBroadcastType {
52 fn clone(&self) -> Self {
53 *self
54 }
55}
04454e1e 56#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
57#[repr(transparent)]
58pub struct SmsDataFormat(pub i32);
59impl SmsDataFormat {
60 pub const Unknown: Self = Self(0i32);
61 pub const CdmaSubmit: Self = Self(1i32);
62 pub const GsmSubmit: Self = Self(2i32);
63 pub const CdmaDeliver: Self = Self(3i32);
64 pub const GsmDeliver: Self = Self(4i32);
65}
66impl ::core::marker::Copy for SmsDataFormat {}
67impl ::core::clone::Clone for SmsDataFormat {
68 fn clone(&self) -> Self {
69 *self
70 }
71}
72pub type SmsDevice = *mut ::core::ffi::c_void;
73pub type SmsDevice2 = *mut ::core::ffi::c_void;
74pub type SmsDeviceMessageStore = *mut ::core::ffi::c_void;
04454e1e 75#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
76#[repr(transparent)]
77pub struct SmsDeviceStatus(pub i32);
78impl SmsDeviceStatus {
79 pub const Off: Self = Self(0i32);
80 pub const Ready: Self = Self(1i32);
81 pub const SimNotInserted: Self = Self(2i32);
82 pub const BadSim: Self = Self(3i32);
83 pub const DeviceFailure: Self = Self(4i32);
84 pub const SubscriptionNotActivated: Self = Self(5i32);
85 pub const DeviceLocked: Self = Self(6i32);
86 pub const DeviceBlocked: Self = Self(7i32);
87}
88impl ::core::marker::Copy for SmsDeviceStatus {}
89impl ::core::clone::Clone for SmsDeviceStatus {
90 fn clone(&self) -> Self {
91 *self
92 }
93}
94pub type SmsDeviceStatusChangedEventHandler = *mut ::core::ffi::c_void;
95#[repr(C)]
04454e1e 96#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
97pub struct SmsEncodedLength {
98 pub SegmentCount: u32,
99 pub CharacterCountLastSegment: u32,
100 pub CharactersPerSegment: u32,
101 pub ByteCountLastSegment: u32,
102 pub BytesPerSegment: u32,
103}
104impl ::core::marker::Copy for SmsEncodedLength {}
105impl ::core::clone::Clone for SmsEncodedLength {
106 fn clone(&self) -> Self {
107 *self
108 }
109}
04454e1e 110#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
111#[repr(transparent)]
112pub struct SmsEncoding(pub i32);
113impl SmsEncoding {
114 pub const Unknown: Self = Self(0i32);
115 pub const Optimal: Self = Self(1i32);
116 pub const SevenBitAscii: Self = Self(2i32);
117 pub const Unicode: Self = Self(3i32);
118 pub const GsmSevenBit: Self = Self(4i32);
119 pub const EightBit: Self = Self(5i32);
120 pub const Latin: Self = Self(6i32);
121 pub const Korean: Self = Self(7i32);
122 pub const IA5: Self = Self(8i32);
123 pub const ShiftJis: Self = Self(9i32);
124 pub const LatinHebrew: Self = Self(10i32);
125}
126impl ::core::marker::Copy for SmsEncoding {}
127impl ::core::clone::Clone for SmsEncoding {
128 fn clone(&self) -> Self {
129 *self
130 }
131}
04454e1e 132#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
133#[repr(transparent)]
134pub struct SmsFilterActionType(pub i32);
135impl SmsFilterActionType {
136 pub const AcceptImmediately: Self = Self(0i32);
137 pub const Drop: Self = Self(1i32);
138 pub const Peek: Self = Self(2i32);
139 pub const Accept: Self = Self(3i32);
140}
141impl ::core::marker::Copy for SmsFilterActionType {}
142impl ::core::clone::Clone for SmsFilterActionType {
143 fn clone(&self) -> Self {
144 *self
145 }
146}
147pub type SmsFilterRule = *mut ::core::ffi::c_void;
148pub type SmsFilterRules = *mut ::core::ffi::c_void;
04454e1e 149#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
150#[repr(transparent)]
151pub struct SmsGeographicalScope(pub i32);
152impl SmsGeographicalScope {
153 pub const None: Self = Self(0i32);
154 pub const CellWithImmediateDisplay: Self = Self(1i32);
155 pub const LocationArea: Self = Self(2i32);
156 pub const Plmn: Self = Self(3i32);
157 pub const Cell: Self = Self(4i32);
158}
159impl ::core::marker::Copy for SmsGeographicalScope {}
160impl ::core::clone::Clone for SmsGeographicalScope {
161 fn clone(&self) -> Self {
162 *self
163 }
164}
04454e1e 165#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
166#[repr(transparent)]
167pub struct SmsMessageClass(pub i32);
168impl SmsMessageClass {
169 pub const None: Self = Self(0i32);
170 pub const Class0: Self = Self(1i32);
171 pub const Class1: Self = Self(2i32);
172 pub const Class2: Self = Self(3i32);
173 pub const Class3: Self = Self(4i32);
174}
175impl ::core::marker::Copy for SmsMessageClass {}
176impl ::core::clone::Clone for SmsMessageClass {
177 fn clone(&self) -> Self {
178 *self
179 }
180}
04454e1e 181#[doc = "*Required features: `\"Devices_Sms\"`, `\"deprecated\"`*"]
5e7ed085
FG
182#[cfg(feature = "deprecated")]
183#[repr(transparent)]
184pub struct SmsMessageFilter(pub i32);
185#[cfg(feature = "deprecated")]
186impl SmsMessageFilter {
187 pub const All: Self = Self(0i32);
188 pub const Unread: Self = Self(1i32);
189 pub const Read: Self = Self(2i32);
190 pub const Sent: Self = Self(3i32);
191 pub const Draft: Self = Self(4i32);
192}
193#[cfg(feature = "deprecated")]
194impl ::core::marker::Copy for SmsMessageFilter {}
195#[cfg(feature = "deprecated")]
196impl ::core::clone::Clone for SmsMessageFilter {
197 fn clone(&self) -> Self {
198 *self
199 }
200}
201pub type SmsMessageReceivedEventArgs = *mut ::core::ffi::c_void;
202pub type SmsMessageReceivedEventHandler = *mut ::core::ffi::c_void;
203pub type SmsMessageReceivedTriggerDetails = *mut ::core::ffi::c_void;
204pub type SmsMessageRegistration = *mut ::core::ffi::c_void;
04454e1e 205#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
206#[repr(transparent)]
207pub struct SmsMessageType(pub i32);
208impl SmsMessageType {
209 pub const Binary: Self = Self(0i32);
210 pub const Text: Self = Self(1i32);
211 pub const Wap: Self = Self(2i32);
212 pub const App: Self = Self(3i32);
213 pub const Broadcast: Self = Self(4i32);
214 pub const Voicemail: Self = Self(5i32);
215 pub const Status: Self = Self(6i32);
216}
217impl ::core::marker::Copy for SmsMessageType {}
218impl ::core::clone::Clone for SmsMessageType {
219 fn clone(&self) -> Self {
220 *self
221 }
222}
04454e1e 223#[doc = "*Required features: `\"Devices_Sms\"`*"]
5e7ed085
FG
224#[repr(transparent)]
225pub struct SmsModemErrorCode(pub i32);
226impl SmsModemErrorCode {
227 pub const Other: Self = Self(0i32);
228 pub const MessagingNetworkError: Self = Self(1i32);
229 pub const SmsOperationNotSupportedByDevice: Self = Self(2i32);
230 pub const SmsServiceNotSupportedByNetwork: Self = Self(3i32);
231 pub const DeviceFailure: Self = Self(4i32);
232 pub const MessageNotEncodedProperly: Self = Self(5i32);
233 pub const MessageTooLarge: Self = Self(6i32);
234 pub const DeviceNotReady: Self = Self(7i32);
235 pub const NetworkNotReady: Self = Self(8i32);
236 pub const InvalidSmscAddress: Self = Self(9i32);
237 pub const NetworkFailure: Self = Self(10i32);
238 pub const FixedDialingNumberRestricted: Self = Self(11i32);
239}
240impl ::core::marker::Copy for SmsModemErrorCode {}
241impl ::core::clone::Clone for SmsModemErrorCode {
242 fn clone(&self) -> Self {
243 *self
244 }
245}
246pub type SmsReceivedEventDetails = *mut ::core::ffi::c_void;
247pub type SmsSendMessageResult = *mut ::core::ffi::c_void;
248pub type SmsStatusMessage = *mut ::core::ffi::c_void;
249pub type SmsTextMessage = *mut ::core::ffi::c_void;
250pub type SmsTextMessage2 = *mut ::core::ffi::c_void;
251pub type SmsVoicemailMessage = *mut ::core::ffi::c_void;
252pub type SmsWapMessage = *mut ::core::ffi::c_void;