]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Storage/FileProperties/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Storage / FileProperties / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type BasicProperties = *mut ::core::ffi::c_void;
3 pub type DocumentProperties = *mut ::core::ffi::c_void;
4 pub type IStorageItemExtraProperties = *mut ::core::ffi::c_void;
5 pub type ImageProperties = *mut ::core::ffi::c_void;
6 pub type MusicProperties = *mut ::core::ffi::c_void;
7 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
8 #[repr(transparent)]
9 pub struct PhotoOrientation(pub i32);
10 impl PhotoOrientation {
11 pub const Unspecified: Self = Self(0i32);
12 pub const Normal: Self = Self(1i32);
13 pub const FlipHorizontal: Self = Self(2i32);
14 pub const Rotate180: Self = Self(3i32);
15 pub const FlipVertical: Self = Self(4i32);
16 pub const Transpose: Self = Self(5i32);
17 pub const Rotate270: Self = Self(6i32);
18 pub const Transverse: Self = Self(7i32);
19 pub const Rotate90: Self = Self(8i32);
20 }
21 impl ::core::marker::Copy for PhotoOrientation {}
22 impl ::core::clone::Clone for PhotoOrientation {
23 fn clone(&self) -> Self {
24 *self
25 }
26 }
27 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
28 #[repr(transparent)]
29 pub struct PropertyPrefetchOptions(pub u32);
30 impl PropertyPrefetchOptions {
31 pub const None: Self = Self(0u32);
32 pub const MusicProperties: Self = Self(1u32);
33 pub const VideoProperties: Self = Self(2u32);
34 pub const ImageProperties: Self = Self(4u32);
35 pub const DocumentProperties: Self = Self(8u32);
36 pub const BasicProperties: Self = Self(16u32);
37 }
38 impl ::core::marker::Copy for PropertyPrefetchOptions {}
39 impl ::core::clone::Clone for PropertyPrefetchOptions {
40 fn clone(&self) -> Self {
41 *self
42 }
43 }
44 pub type StorageItemContentProperties = *mut ::core::ffi::c_void;
45 pub type StorageItemThumbnail = *mut ::core::ffi::c_void;
46 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
47 #[repr(transparent)]
48 pub struct ThumbnailMode(pub i32);
49 impl ThumbnailMode {
50 pub const PicturesView: Self = Self(0i32);
51 pub const VideosView: Self = Self(1i32);
52 pub const MusicView: Self = Self(2i32);
53 pub const DocumentsView: Self = Self(3i32);
54 pub const ListView: Self = Self(4i32);
55 pub const SingleItem: Self = Self(5i32);
56 }
57 impl ::core::marker::Copy for ThumbnailMode {}
58 impl ::core::clone::Clone for ThumbnailMode {
59 fn clone(&self) -> Self {
60 *self
61 }
62 }
63 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
64 #[repr(transparent)]
65 pub struct ThumbnailOptions(pub u32);
66 impl ThumbnailOptions {
67 pub const None: Self = Self(0u32);
68 pub const ReturnOnlyIfCached: Self = Self(1u32);
69 pub const ResizeThumbnail: Self = Self(2u32);
70 pub const UseCurrentScale: Self = Self(4u32);
71 }
72 impl ::core::marker::Copy for ThumbnailOptions {}
73 impl ::core::clone::Clone for ThumbnailOptions {
74 fn clone(&self) -> Self {
75 *self
76 }
77 }
78 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
79 #[repr(transparent)]
80 pub struct ThumbnailType(pub i32);
81 impl ThumbnailType {
82 pub const Image: Self = Self(0i32);
83 pub const Icon: Self = Self(1i32);
84 }
85 impl ::core::marker::Copy for ThumbnailType {}
86 impl ::core::clone::Clone for ThumbnailType {
87 fn clone(&self) -> Self {
88 *self
89 }
90 }
91 #[doc = "*Required features: `\"Storage_FileProperties\"`*"]
92 #[repr(transparent)]
93 pub struct VideoOrientation(pub i32);
94 impl VideoOrientation {
95 pub const Normal: Self = Self(0i32);
96 pub const Rotate90: Self = Self(90i32);
97 pub const Rotate180: Self = Self(180i32);
98 pub const Rotate270: Self = Self(270i32);
99 }
100 impl ::core::marker::Copy for VideoOrientation {}
101 impl ::core::clone::Clone for VideoOrientation {
102 fn clone(&self) -> Self {
103 *self
104 }
105 }
106 pub type VideoProperties = *mut ::core::ffi::c_void;