]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Storage/Pickers/Provider/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Storage / Pickers / Provider / mod.rs
1 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
2 #[repr(transparent)]
3 pub struct AddFileResult(pub i32);
4 impl AddFileResult {
5 pub const Added: Self = Self(0i32);
6 pub const AlreadyAdded: Self = Self(1i32);
7 pub const NotAllowed: Self = Self(2i32);
8 pub const Unavailable: Self = Self(3i32);
9 }
10 impl ::core::marker::Copy for AddFileResult {}
11 impl ::core::clone::Clone for AddFileResult {
12 fn clone(&self) -> Self {
13 *self
14 }
15 }
16 pub type FileOpenPickerUI = *mut ::core::ffi::c_void;
17 pub type FileRemovedEventArgs = *mut ::core::ffi::c_void;
18 pub type FileSavePickerUI = *mut ::core::ffi::c_void;
19 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
20 #[repr(transparent)]
21 pub struct FileSelectionMode(pub i32);
22 impl FileSelectionMode {
23 pub const Single: Self = Self(0i32);
24 pub const Multiple: Self = Self(1i32);
25 }
26 impl ::core::marker::Copy for FileSelectionMode {}
27 impl ::core::clone::Clone for FileSelectionMode {
28 fn clone(&self) -> Self {
29 *self
30 }
31 }
32 pub type PickerClosingDeferral = *mut ::core::ffi::c_void;
33 pub type PickerClosingEventArgs = *mut ::core::ffi::c_void;
34 pub type PickerClosingOperation = *mut ::core::ffi::c_void;
35 #[doc = "*Required features: `\"Storage_Pickers_Provider\"`*"]
36 #[repr(transparent)]
37 pub struct SetFileNameResult(pub i32);
38 impl SetFileNameResult {
39 pub const Succeeded: Self = Self(0i32);
40 pub const NotAllowed: Self = Self(1i32);
41 pub const Unavailable: Self = Self(2i32);
42 }
43 impl ::core::marker::Copy for SetFileNameResult {}
44 impl ::core::clone::Clone for SetFileNameResult {
45 fn clone(&self) -> Self {
46 *self
47 }
48 }
49 pub type TargetFileRequest = *mut ::core::ffi::c_void;
50 pub type TargetFileRequestDeferral = *mut ::core::ffi::c_void;
51 pub type TargetFileRequestedEventArgs = *mut ::core::ffi::c_void;