]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/ApplicationModel/DataTransfer/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / DataTransfer / mod.rs
1 #[cfg(feature = "ApplicationModel_DataTransfer_DragDrop")]
2 pub mod DragDrop;
3 #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")]
4 pub mod ShareTarget;
5 pub type ClipboardContentOptions = *mut ::core::ffi::c_void;
6 pub type ClipboardHistoryChangedEventArgs = *mut ::core::ffi::c_void;
7 pub type ClipboardHistoryItem = *mut ::core::ffi::c_void;
8 pub type ClipboardHistoryItemsResult = *mut ::core::ffi::c_void;
9 #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"]
10 #[repr(transparent)]
11 pub struct ClipboardHistoryItemsResultStatus(pub i32);
12 impl ClipboardHistoryItemsResultStatus {
13 pub const Success: Self = Self(0i32);
14 pub const AccessDenied: Self = Self(1i32);
15 pub const ClipboardHistoryDisabled: Self = Self(2i32);
16 }
17 impl ::core::marker::Copy for ClipboardHistoryItemsResultStatus {}
18 impl ::core::clone::Clone for ClipboardHistoryItemsResultStatus {
19 fn clone(&self) -> Self {
20 *self
21 }
22 }
23 pub type DataPackage = *mut ::core::ffi::c_void;
24 #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"]
25 #[repr(transparent)]
26 pub struct DataPackageOperation(pub u32);
27 impl DataPackageOperation {
28 pub const None: Self = Self(0u32);
29 pub const Copy: Self = Self(1u32);
30 pub const Move: Self = Self(2u32);
31 pub const Link: Self = Self(4u32);
32 }
33 impl ::core::marker::Copy for DataPackageOperation {}
34 impl ::core::clone::Clone for DataPackageOperation {
35 fn clone(&self) -> Self {
36 *self
37 }
38 }
39 pub type DataPackagePropertySet = *mut ::core::ffi::c_void;
40 pub type DataPackagePropertySetView = *mut ::core::ffi::c_void;
41 pub type DataPackageView = *mut ::core::ffi::c_void;
42 pub type DataProviderDeferral = *mut ::core::ffi::c_void;
43 pub type DataProviderHandler = *mut ::core::ffi::c_void;
44 pub type DataProviderRequest = *mut ::core::ffi::c_void;
45 pub type DataRequest = *mut ::core::ffi::c_void;
46 pub type DataRequestDeferral = *mut ::core::ffi::c_void;
47 pub type DataRequestedEventArgs = *mut ::core::ffi::c_void;
48 pub type DataTransferManager = *mut ::core::ffi::c_void;
49 pub type OperationCompletedEventArgs = *mut ::core::ffi::c_void;
50 #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"]
51 #[repr(transparent)]
52 pub struct SetHistoryItemAsContentStatus(pub i32);
53 impl SetHistoryItemAsContentStatus {
54 pub const Success: Self = Self(0i32);
55 pub const AccessDenied: Self = Self(1i32);
56 pub const ItemDeleted: Self = Self(2i32);
57 }
58 impl ::core::marker::Copy for SetHistoryItemAsContentStatus {}
59 impl ::core::clone::Clone for SetHistoryItemAsContentStatus {
60 fn clone(&self) -> Self {
61 *self
62 }
63 }
64 pub type ShareCompletedEventArgs = *mut ::core::ffi::c_void;
65 pub type ShareProvider = *mut ::core::ffi::c_void;
66 pub type ShareProviderHandler = *mut ::core::ffi::c_void;
67 pub type ShareProviderOperation = *mut ::core::ffi::c_void;
68 pub type ShareProvidersRequestedEventArgs = *mut ::core::ffi::c_void;
69 pub type ShareTargetInfo = *mut ::core::ffi::c_void;
70 pub type ShareUIOptions = *mut ::core::ffi::c_void;
71 #[doc = "*Required features: `\"ApplicationModel_DataTransfer\"`*"]
72 #[repr(transparent)]
73 pub struct ShareUITheme(pub i32);
74 impl ShareUITheme {
75 pub const Default: Self = Self(0i32);
76 pub const Light: Self = Self(1i32);
77 pub const Dark: Self = Self(2i32);
78 }
79 impl ::core::marker::Copy for ShareUITheme {}
80 impl ::core::clone::Clone for ShareUITheme {
81 fn clone(&self) -> Self {
82 *self
83 }
84 }
85 pub type TargetApplicationChosenEventArgs = *mut ::core::ffi::c_void;