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