]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Storage/Pickers/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Storage / Pickers / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "Storage_Pickers_Provider")]
3 pub mod Provider;
4 pub type FileExtensionVector = *mut ::core::ffi::c_void;
5 pub type FileOpenPicker = *mut ::core::ffi::c_void;
6 pub type FilePickerFileTypesOrderedMap = *mut ::core::ffi::c_void;
7 pub type FilePickerSelectedFilesArray = *mut ::core::ffi::c_void;
8 pub type FileSavePicker = *mut ::core::ffi::c_void;
9 pub type FolderPicker = *mut ::core::ffi::c_void;
10 #[doc = "*Required features: `\"Storage_Pickers\"`*"]
11 #[repr(transparent)]
12 pub struct PickerLocationId(pub i32);
13 impl PickerLocationId {
14 pub const DocumentsLibrary: Self = Self(0i32);
15 pub const ComputerFolder: Self = Self(1i32);
16 pub const Desktop: Self = Self(2i32);
17 pub const Downloads: Self = Self(3i32);
18 pub const HomeGroup: Self = Self(4i32);
19 pub const MusicLibrary: Self = Self(5i32);
20 pub const PicturesLibrary: Self = Self(6i32);
21 pub const VideosLibrary: Self = Self(7i32);
22 pub const Objects3D: Self = Self(8i32);
23 pub const Unspecified: Self = Self(9i32);
24 }
25 impl ::core::marker::Copy for PickerLocationId {}
26 impl ::core::clone::Clone for PickerLocationId {
27 fn clone(&self) -> Self {
28 *self
29 }
30 }
31 #[doc = "*Required features: `\"Storage_Pickers\"`*"]
32 #[repr(transparent)]
33 pub struct PickerViewMode(pub i32);
34 impl PickerViewMode {
35 pub const List: Self = Self(0i32);
36 pub const Thumbnail: Self = Self(1i32);
37 }
38 impl ::core::marker::Copy for PickerViewMode {}
39 impl ::core::clone::Clone for PickerViewMode {
40 fn clone(&self) -> Self {
41 *self
42 }
43 }