windows-sys 0.27.0

Rust for Windows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[link(name = "windows")]
extern "system" {}
#[repr(C)]
pub struct HolographicAdapterId {
    pub LowPart: u32,
    pub HighPart: i32,
}
impl ::core::marker::Copy for HolographicAdapterId {}
impl ::core::clone::Clone for HolographicAdapterId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicCamera(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicCamera {}
impl ::core::clone::Clone for HolographicCamera {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicCameraPose(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicCameraPose {}
impl ::core::clone::Clone for HolographicCameraPose {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicCameraRenderingParameters(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicCameraRenderingParameters {}
impl ::core::clone::Clone for HolographicCameraRenderingParameters {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicCameraViewportParameters(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicCameraViewportParameters {}
impl ::core::clone::Clone for HolographicCameraViewportParameters {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicDepthReprojectionMethod(pub i32);
impl HolographicDepthReprojectionMethod {
    pub const DepthReprojection: Self = Self(0i32);
    pub const AutoPlanar: Self = Self(1i32);
}
impl ::core::marker::Copy for HolographicDepthReprojectionMethod {}
impl ::core::clone::Clone for HolographicDepthReprojectionMethod {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicDisplay(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicDisplay {}
impl ::core::clone::Clone for HolographicDisplay {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFrame(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicFrame {}
impl ::core::clone::Clone for HolographicFrame {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(C)]
pub struct HolographicFrameId {
    pub Value: u64,
}
impl ::core::marker::Copy for HolographicFrameId {}
impl ::core::clone::Clone for HolographicFrameId {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFramePrediction(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicFramePrediction {}
impl ::core::clone::Clone for HolographicFramePrediction {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFramePresentResult(pub i32);
impl HolographicFramePresentResult {
    pub const Success: Self = Self(0i32);
    pub const DeviceRemoved: Self = Self(1i32);
}
impl ::core::marker::Copy for HolographicFramePresentResult {}
impl ::core::clone::Clone for HolographicFramePresentResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFramePresentWaitBehavior(pub i32);
impl HolographicFramePresentWaitBehavior {
    pub const WaitForFrameToFinish: Self = Self(0i32);
    pub const DoNotWaitForFrameToFinish: Self = Self(1i32);
}
impl ::core::marker::Copy for HolographicFramePresentWaitBehavior {}
impl ::core::clone::Clone for HolographicFramePresentWaitBehavior {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFramePresentationMonitor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicFramePresentationMonitor {}
impl ::core::clone::Clone for HolographicFramePresentationMonitor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFramePresentationReport(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicFramePresentationReport {}
impl ::core::clone::Clone for HolographicFramePresentationReport {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFrameRenderingReport(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicFrameRenderingReport {}
impl ::core::clone::Clone for HolographicFrameRenderingReport {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFrameScanoutMonitor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicFrameScanoutMonitor {}
impl ::core::clone::Clone for HolographicFrameScanoutMonitor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicFrameScanoutReport(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicFrameScanoutReport {}
impl ::core::clone::Clone for HolographicFrameScanoutReport {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicQuadLayer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicQuadLayer {}
impl ::core::clone::Clone for HolographicQuadLayer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicQuadLayerUpdateParameters(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicQuadLayerUpdateParameters {}
impl ::core::clone::Clone for HolographicQuadLayerUpdateParameters {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicReprojectionMode(pub i32);
impl HolographicReprojectionMode {
    pub const PositionAndOrientation: Self = Self(0i32);
    pub const OrientationOnly: Self = Self(1i32);
    pub const Disabled: Self = Self(2i32);
}
impl ::core::marker::Copy for HolographicReprojectionMode {}
impl ::core::clone::Clone for HolographicReprojectionMode {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicSpace(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicSpace {}
impl ::core::clone::Clone for HolographicSpace {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicSpaceCameraAddedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicSpaceCameraAddedEventArgs {}
impl ::core::clone::Clone for HolographicSpaceCameraAddedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicSpaceCameraRemovedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicSpaceCameraRemovedEventArgs {}
impl ::core::clone::Clone for HolographicSpaceCameraRemovedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicSpaceUserPresence(pub i32);
impl HolographicSpaceUserPresence {
    pub const Absent: Self = Self(0i32);
    pub const PresentPassive: Self = Self(1i32);
    pub const PresentActive: Self = Self(2i32);
}
impl ::core::marker::Copy for HolographicSpaceUserPresence {}
impl ::core::clone::Clone for HolographicSpaceUserPresence {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(C)]
#[cfg(feature = "Foundation_Numerics")]
pub struct HolographicStereoTransform {
    pub Left: super::super::Foundation::Numerics::Matrix4x4,
    pub Right: super::super::Foundation::Numerics::Matrix4x4,
}
#[cfg(feature = "Foundation_Numerics")]
impl ::core::marker::Copy for HolographicStereoTransform {}
#[cfg(feature = "Foundation_Numerics")]
impl ::core::clone::Clone for HolographicStereoTransform {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicViewConfiguration(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for HolographicViewConfiguration {}
impl ::core::clone::Clone for HolographicViewConfiguration {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct HolographicViewConfigurationKind(pub i32);
impl HolographicViewConfigurationKind {
    pub const Display: Self = Self(0i32);
    pub const PhotoVideoCamera: Self = Self(1i32);
}
impl ::core::marker::Copy for HolographicViewConfigurationKind {}
impl ::core::clone::Clone for HolographicViewConfigurationKind {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCamera(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCamera {}
impl ::core::clone::Clone for IHolographicCamera {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCamera2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCamera2 {}
impl ::core::clone::Clone for IHolographicCamera2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCamera3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCamera3 {}
impl ::core::clone::Clone for IHolographicCamera3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCamera4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCamera4 {}
impl ::core::clone::Clone for IHolographicCamera4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCamera5(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCamera5 {}
impl ::core::clone::Clone for IHolographicCamera5 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCamera6(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCamera6 {}
impl ::core::clone::Clone for IHolographicCamera6 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCameraPose(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCameraPose {}
impl ::core::clone::Clone for IHolographicCameraPose {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCameraPose2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCameraPose2 {}
impl ::core::clone::Clone for IHolographicCameraPose2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCameraRenderingParameters(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCameraRenderingParameters {}
impl ::core::clone::Clone for IHolographicCameraRenderingParameters {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCameraRenderingParameters2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCameraRenderingParameters2 {}
impl ::core::clone::Clone for IHolographicCameraRenderingParameters2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCameraRenderingParameters3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCameraRenderingParameters3 {}
impl ::core::clone::Clone for IHolographicCameraRenderingParameters3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCameraRenderingParameters4(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCameraRenderingParameters4 {}
impl ::core::clone::Clone for IHolographicCameraRenderingParameters4 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicCameraViewportParameters(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicCameraViewportParameters {}
impl ::core::clone::Clone for IHolographicCameraViewportParameters {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicDisplay(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicDisplay {}
impl ::core::clone::Clone for IHolographicDisplay {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicDisplay2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicDisplay2 {}
impl ::core::clone::Clone for IHolographicDisplay2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicDisplay3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicDisplay3 {}
impl ::core::clone::Clone for IHolographicDisplay3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicDisplayStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicDisplayStatics {}
impl ::core::clone::Clone for IHolographicDisplayStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFrame(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFrame {}
impl ::core::clone::Clone for IHolographicFrame {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFrame2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFrame2 {}
impl ::core::clone::Clone for IHolographicFrame2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFrame3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFrame3 {}
impl ::core::clone::Clone for IHolographicFrame3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFramePrediction(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFramePrediction {}
impl ::core::clone::Clone for IHolographicFramePrediction {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFramePresentationMonitor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFramePresentationMonitor {}
impl ::core::clone::Clone for IHolographicFramePresentationMonitor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFramePresentationReport(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFramePresentationReport {}
impl ::core::clone::Clone for IHolographicFramePresentationReport {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFrameRenderingReport(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFrameRenderingReport {}
impl ::core::clone::Clone for IHolographicFrameRenderingReport {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFrameScanoutMonitor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFrameScanoutMonitor {}
impl ::core::clone::Clone for IHolographicFrameScanoutMonitor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicFrameScanoutReport(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicFrameScanoutReport {}
impl ::core::clone::Clone for IHolographicFrameScanoutReport {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicQuadLayer(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicQuadLayer {}
impl ::core::clone::Clone for IHolographicQuadLayer {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicQuadLayerFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicQuadLayerFactory {}
impl ::core::clone::Clone for IHolographicQuadLayerFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicQuadLayerUpdateParameters(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicQuadLayerUpdateParameters {}
impl ::core::clone::Clone for IHolographicQuadLayerUpdateParameters {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicQuadLayerUpdateParameters2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicQuadLayerUpdateParameters2 {}
impl ::core::clone::Clone for IHolographicQuadLayerUpdateParameters2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpace(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpace {}
impl ::core::clone::Clone for IHolographicSpace {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpace2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpace2 {}
impl ::core::clone::Clone for IHolographicSpace2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpace3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpace3 {}
impl ::core::clone::Clone for IHolographicSpace3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpaceCameraAddedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpaceCameraAddedEventArgs {}
impl ::core::clone::Clone for IHolographicSpaceCameraAddedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpaceCameraRemovedEventArgs(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpaceCameraRemovedEventArgs {}
impl ::core::clone::Clone for IHolographicSpaceCameraRemovedEventArgs {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpaceStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpaceStatics {}
impl ::core::clone::Clone for IHolographicSpaceStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpaceStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpaceStatics2 {}
impl ::core::clone::Clone for IHolographicSpaceStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicSpaceStatics3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicSpaceStatics3 {}
impl ::core::clone::Clone for IHolographicSpaceStatics3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicViewConfiguration(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicViewConfiguration {}
impl ::core::clone::Clone for IHolographicViewConfiguration {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IHolographicViewConfiguration2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IHolographicViewConfiguration2 {}
impl ::core::clone::Clone for IHolographicViewConfiguration2 {
    fn clone(&self) -> Self {
        *self
    }
}