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