]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/ApplicationModel/ConversationalAgent/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / ConversationalAgent / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2pub type ActivationSignalDetectionConfiguration = *mut ::core::ffi::c_void;
3pub type ActivationSignalDetectionConfigurationCreationResult = *mut ::core::ffi::c_void;
04454e1e 4#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
5#[repr(transparent)]
6pub struct ActivationSignalDetectionConfigurationCreationStatus(pub i32);
7impl ActivationSignalDetectionConfigurationCreationStatus {
8 pub const Success: Self = Self(0i32);
9 pub const SignalIdNotAvailable: Self = Self(1i32);
10 pub const ModelIdNotSupported: Self = Self(2i32);
11 pub const InvalidSignalId: Self = Self(3i32);
12 pub const InvalidModelId: Self = Self(4i32);
13 pub const InvalidDisplayName: Self = Self(5i32);
14 pub const ConfigurationAlreadyExists: Self = Self(6i32);
15 pub const CreationNotSupported: Self = Self(7i32);
16}
17impl ::core::marker::Copy for ActivationSignalDetectionConfigurationCreationStatus {}
18impl ::core::clone::Clone for ActivationSignalDetectionConfigurationCreationStatus {
19 fn clone(&self) -> Self {
20 *self
21 }
22}
04454e1e 23#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
24#[repr(transparent)]
25pub struct ActivationSignalDetectionConfigurationRemovalResult(pub i32);
26impl ActivationSignalDetectionConfigurationRemovalResult {
27 pub const Success: Self = Self(0i32);
28 pub const NotFound: Self = Self(1i32);
29 pub const CurrentlyEnabled: Self = Self(2i32);
30 pub const RemovalNotSupported: Self = Self(3i32);
31}
32impl ::core::marker::Copy for ActivationSignalDetectionConfigurationRemovalResult {}
33impl ::core::clone::Clone for ActivationSignalDetectionConfigurationRemovalResult {
34 fn clone(&self) -> Self {
35 *self
36 }
37}
04454e1e 38#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
39#[repr(transparent)]
40pub struct ActivationSignalDetectionConfigurationSetModelDataResult(pub i32);
41impl ActivationSignalDetectionConfigurationSetModelDataResult {
42 pub const Success: Self = Self(0i32);
43 pub const EmptyModelData: Self = Self(1i32);
44 pub const UnsupportedFormat: Self = Self(2i32);
45 pub const ConfigurationCurrentlyEnabled: Self = Self(3i32);
46 pub const InvalidData: Self = Self(4i32);
47 pub const SetModelDataNotSupported: Self = Self(5i32);
48 pub const ConfigurationNotFound: Self = Self(6i32);
49 pub const UnknownError: Self = Self(7i32);
50}
51impl ::core::marker::Copy for ActivationSignalDetectionConfigurationSetModelDataResult {}
52impl ::core::clone::Clone for ActivationSignalDetectionConfigurationSetModelDataResult {
53 fn clone(&self) -> Self {
54 *self
55 }
56}
04454e1e 57#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
58#[repr(transparent)]
59pub struct ActivationSignalDetectionConfigurationStateChangeResult(pub i32);
60impl ActivationSignalDetectionConfigurationStateChangeResult {
61 pub const Success: Self = Self(0i32);
62 pub const NoModelData: Self = Self(1i32);
63 pub const ConfigurationNotFound: Self = Self(2i32);
64}
65impl ::core::marker::Copy for ActivationSignalDetectionConfigurationStateChangeResult {}
66impl ::core::clone::Clone for ActivationSignalDetectionConfigurationStateChangeResult {
67 fn clone(&self) -> Self {
68 *self
69 }
70}
04454e1e 71#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
72#[repr(transparent)]
73pub struct ActivationSignalDetectionTrainingDataFormat(pub i32);
74impl ActivationSignalDetectionTrainingDataFormat {
75 pub const Voice8kHz8BitMono: Self = Self(0i32);
76 pub const Voice8kHz16BitMono: Self = Self(1i32);
77 pub const Voice16kHz8BitMono: Self = Self(2i32);
78 pub const Voice16kHz16BitMono: Self = Self(3i32);
79 pub const VoiceOEMDefined: Self = Self(4i32);
80 pub const Audio44kHz8BitMono: Self = Self(5i32);
81 pub const Audio44kHz16BitMono: Self = Self(6i32);
82 pub const Audio48kHz8BitMono: Self = Self(7i32);
83 pub const Audio48kHz16BitMono: Self = Self(8i32);
84 pub const AudioOEMDefined: Self = Self(9i32);
85 pub const OtherOEMDefined: Self = Self(10i32);
86}
87impl ::core::marker::Copy for ActivationSignalDetectionTrainingDataFormat {}
88impl ::core::clone::Clone for ActivationSignalDetectionTrainingDataFormat {
89 fn clone(&self) -> Self {
90 *self
91 }
92}
93pub type ActivationSignalDetector = *mut ::core::ffi::c_void;
04454e1e 94#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
95#[repr(transparent)]
96pub struct ActivationSignalDetectorKind(pub i32);
97impl ActivationSignalDetectorKind {
98 pub const AudioPattern: Self = Self(0i32);
99 pub const AudioImpulse: Self = Self(1i32);
100 pub const HardwareEvent: Self = Self(2i32);
101}
102impl ::core::marker::Copy for ActivationSignalDetectorKind {}
103impl ::core::clone::Clone for ActivationSignalDetectorKind {
104 fn clone(&self) -> Self {
105 *self
106 }
107}
04454e1e 108#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
109#[repr(transparent)]
110pub struct ActivationSignalDetectorPowerState(pub i32);
111impl ActivationSignalDetectorPowerState {
112 pub const HighPower: Self = Self(0i32);
113 pub const ConnectedLowPower: Self = Self(1i32);
114 pub const DisconnectedLowPower: Self = Self(2i32);
115}
116impl ::core::marker::Copy for ActivationSignalDetectorPowerState {}
117impl ::core::clone::Clone for ActivationSignalDetectorPowerState {
118 fn clone(&self) -> Self {
119 *self
120 }
121}
04454e1e 122#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
123#[repr(transparent)]
124pub struct ConversationalAgentActivationKind(pub i32);
125impl ConversationalAgentActivationKind {
126 pub const VoiceActivationPreview: Self = Self(0i32);
127 pub const Foreground: Self = Self(1i32);
128}
129impl ::core::marker::Copy for ConversationalAgentActivationKind {}
130impl ::core::clone::Clone for ConversationalAgentActivationKind {
131 fn clone(&self) -> Self {
132 *self
133 }
134}
04454e1e 135#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
136#[repr(transparent)]
137pub struct ConversationalAgentActivationResult(pub i32);
138impl ConversationalAgentActivationResult {
139 pub const Success: Self = Self(0i32);
140 pub const AgentInactive: Self = Self(1i32);
141 pub const ScreenNotAvailable: Self = Self(2i32);
142 pub const AgentInterrupted: Self = Self(3i32);
143}
144impl ::core::marker::Copy for ConversationalAgentActivationResult {}
145impl ::core::clone::Clone for ConversationalAgentActivationResult {
146 fn clone(&self) -> Self {
147 *self
148 }
149}
150pub type ConversationalAgentDetectorManager = *mut ::core::ffi::c_void;
151pub type ConversationalAgentSession = *mut ::core::ffi::c_void;
152pub type ConversationalAgentSessionInterruptedEventArgs = *mut ::core::ffi::c_void;
04454e1e 153#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
154#[repr(transparent)]
155pub struct ConversationalAgentSessionUpdateResponse(pub i32);
156impl ConversationalAgentSessionUpdateResponse {
157 pub const Success: Self = Self(0i32);
158 pub const Failed: Self = Self(1i32);
159}
160impl ::core::marker::Copy for ConversationalAgentSessionUpdateResponse {}
161impl ::core::clone::Clone for ConversationalAgentSessionUpdateResponse {
162 fn clone(&self) -> Self {
163 *self
164 }
165}
166pub type ConversationalAgentSignal = *mut ::core::ffi::c_void;
167pub type ConversationalAgentSignalDetectedEventArgs = *mut ::core::ffi::c_void;
04454e1e 168#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
169#[repr(transparent)]
170pub struct ConversationalAgentState(pub i32);
171impl ConversationalAgentState {
172 pub const Inactive: Self = Self(0i32);
173 pub const Detecting: Self = Self(1i32);
174 pub const Listening: Self = Self(2i32);
175 pub const Working: Self = Self(3i32);
176 pub const Speaking: Self = Self(4i32);
177 pub const ListeningAndSpeaking: Self = Self(5i32);
178}
179impl ::core::marker::Copy for ConversationalAgentState {}
180impl ::core::clone::Clone for ConversationalAgentState {
181 fn clone(&self) -> Self {
182 *self
183 }
184}
04454e1e 185#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
186#[repr(transparent)]
187pub struct ConversationalAgentSystemStateChangeType(pub i32);
188impl ConversationalAgentSystemStateChangeType {
189 pub const UserAuthentication: Self = Self(0i32);
190 pub const ScreenAvailability: Self = Self(1i32);
191 pub const IndicatorLightAvailability: Self = Self(2i32);
192 pub const VoiceActivationAvailability: Self = Self(3i32);
193}
194impl ::core::marker::Copy for ConversationalAgentSystemStateChangeType {}
195impl ::core::clone::Clone for ConversationalAgentSystemStateChangeType {
196 fn clone(&self) -> Self {
197 *self
198 }
199}
200pub type ConversationalAgentSystemStateChangedEventArgs = *mut ::core::ffi::c_void;
04454e1e 201#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
202#[repr(transparent)]
203pub struct ConversationalAgentVoiceActivationPrerequisiteKind(pub i32);
204impl ConversationalAgentVoiceActivationPrerequisiteKind {
205 pub const MicrophonePermission: Self = Self(0i32);
206 pub const KnownAgents: Self = Self(1i32);
207 pub const AgentAllowed: Self = Self(2i32);
208 pub const AppCapability: Self = Self(3i32);
209 pub const BackgroundTaskRegistration: Self = Self(4i32);
210 pub const PolicyPermission: Self = Self(5i32);
211}
212impl ::core::marker::Copy for ConversationalAgentVoiceActivationPrerequisiteKind {}
213impl ::core::clone::Clone for ConversationalAgentVoiceActivationPrerequisiteKind {
214 fn clone(&self) -> Self {
215 *self
216 }
217}
04454e1e 218#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
219#[repr(transparent)]
220pub struct DetectionConfigurationAvailabilityChangeKind(pub i32);
221impl DetectionConfigurationAvailabilityChangeKind {
222 pub const SystemResourceAccess: Self = Self(0i32);
223 pub const Permission: Self = Self(1i32);
224 pub const LockScreenPermission: Self = Self(2i32);
225}
226impl ::core::marker::Copy for DetectionConfigurationAvailabilityChangeKind {}
227impl ::core::clone::Clone for DetectionConfigurationAvailabilityChangeKind {
228 fn clone(&self) -> Self {
229 *self
230 }
231}
232pub type DetectionConfigurationAvailabilityChangedEventArgs = *mut ::core::ffi::c_void;
233pub type DetectionConfigurationAvailabilityInfo = *mut ::core::ffi::c_void;
04454e1e 234#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
235#[repr(transparent)]
236pub struct DetectionConfigurationTrainingStatus(pub i32);
237impl DetectionConfigurationTrainingStatus {
238 pub const Success: Self = Self(0i32);
239 pub const FormatNotSupported: Self = Self(1i32);
240 pub const VoiceTooQuiet: Self = Self(2i32);
241 pub const VoiceTooLoud: Self = Self(3i32);
242 pub const VoiceTooFast: Self = Self(4i32);
243 pub const VoiceTooSlow: Self = Self(5i32);
244 pub const VoiceQualityProblem: Self = Self(6i32);
245 pub const TrainingSystemInternalError: Self = Self(7i32);
246 pub const TrainingTimedOut: Self = Self(8i32);
247 pub const ConfigurationNotFound: Self = Self(9i32);
248}
249impl ::core::marker::Copy for DetectionConfigurationTrainingStatus {}
250impl ::core::clone::Clone for DetectionConfigurationTrainingStatus {
251 fn clone(&self) -> Self {
252 *self
253 }
254}
04454e1e 255#[doc = "*Required features: `\"ApplicationModel_ConversationalAgent\"`*"]
5e7ed085
FG
256#[repr(transparent)]
257pub struct SignalDetectorResourceKind(pub i32);
258impl SignalDetectorResourceKind {
259 pub const ParallelModelSupport: Self = Self(0i32);
260 pub const ParallelModelSupportForAgent: Self = Self(1i32);
261 pub const ParallelSignalSupport: Self = Self(2i32);
262 pub const ParallelSignalSupportForAgent: Self = Self(3i32);
263 pub const DisplayOffSupport: Self = Self(4i32);
264 pub const PluggedInPower: Self = Self(5i32);
265 pub const Detector: Self = Self(6i32);
266 pub const SupportedSleepState: Self = Self(7i32);
267 pub const SupportedBatterySaverState: Self = Self(8i32);
268 pub const ScreenAvailability: Self = Self(9i32);
269 pub const InputHardware: Self = Self(10i32);
270 pub const AcousticEchoCancellation: Self = Self(11i32);
271 pub const ModelIdSupport: Self = Self(12i32);
272 pub const DataChannel: Self = Self(13i32);
273}
274impl ::core::marker::Copy for SignalDetectorResourceKind {}
275impl ::core::clone::Clone for SignalDetectorResourceKind {
276 fn clone(&self) -> Self {
277 *self
278 }
279}