]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Storage/Search/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Storage / Search / mod.rs
1 #[doc = "*Required features: `\"Storage_Search\"`*"]
2 #[repr(transparent)]
3 pub struct CommonFileQuery(pub i32);
4 impl CommonFileQuery {
5 pub const DefaultQuery: Self = Self(0i32);
6 pub const OrderByName: Self = Self(1i32);
7 pub const OrderByTitle: Self = Self(2i32);
8 pub const OrderByMusicProperties: Self = Self(3i32);
9 pub const OrderBySearchRank: Self = Self(4i32);
10 pub const OrderByDate: Self = Self(5i32);
11 }
12 impl ::core::marker::Copy for CommonFileQuery {}
13 impl ::core::clone::Clone for CommonFileQuery {
14 fn clone(&self) -> Self {
15 *self
16 }
17 }
18 #[doc = "*Required features: `\"Storage_Search\"`*"]
19 #[repr(transparent)]
20 pub struct CommonFolderQuery(pub i32);
21 impl CommonFolderQuery {
22 pub const DefaultQuery: Self = Self(0i32);
23 pub const GroupByYear: Self = Self(100i32);
24 pub const GroupByMonth: Self = Self(101i32);
25 pub const GroupByArtist: Self = Self(102i32);
26 pub const GroupByAlbum: Self = Self(103i32);
27 pub const GroupByAlbumArtist: Self = Self(104i32);
28 pub const GroupByComposer: Self = Self(105i32);
29 pub const GroupByGenre: Self = Self(106i32);
30 pub const GroupByPublishedYear: Self = Self(107i32);
31 pub const GroupByRating: Self = Self(108i32);
32 pub const GroupByTag: Self = Self(109i32);
33 pub const GroupByAuthor: Self = Self(110i32);
34 pub const GroupByType: Self = Self(111i32);
35 }
36 impl ::core::marker::Copy for CommonFolderQuery {}
37 impl ::core::clone::Clone for CommonFolderQuery {
38 fn clone(&self) -> Self {
39 *self
40 }
41 }
42 pub type ContentIndexer = *mut ::core::ffi::c_void;
43 pub type ContentIndexerQuery = *mut ::core::ffi::c_void;
44 #[doc = "*Required features: `\"Storage_Search\"`*"]
45 #[repr(transparent)]
46 pub struct DateStackOption(pub i32);
47 impl DateStackOption {
48 pub const None: Self = Self(0i32);
49 pub const Year: Self = Self(1i32);
50 pub const Month: Self = Self(2i32);
51 }
52 impl ::core::marker::Copy for DateStackOption {}
53 impl ::core::clone::Clone for DateStackOption {
54 fn clone(&self) -> Self {
55 *self
56 }
57 }
58 #[doc = "*Required features: `\"Storage_Search\"`*"]
59 #[repr(transparent)]
60 pub struct FolderDepth(pub i32);
61 impl FolderDepth {
62 pub const Shallow: Self = Self(0i32);
63 pub const Deep: Self = Self(1i32);
64 }
65 impl ::core::marker::Copy for FolderDepth {}
66 impl ::core::clone::Clone for FolderDepth {
67 fn clone(&self) -> Self {
68 *self
69 }
70 }
71 pub type IIndexableContent = *mut ::core::ffi::c_void;
72 pub type IStorageFolderQueryOperations = *mut ::core::ffi::c_void;
73 pub type IStorageQueryResultBase = *mut ::core::ffi::c_void;
74 pub type IndexableContent = *mut ::core::ffi::c_void;
75 #[doc = "*Required features: `\"Storage_Search\"`*"]
76 #[repr(transparent)]
77 pub struct IndexedState(pub i32);
78 impl IndexedState {
79 pub const Unknown: Self = Self(0i32);
80 pub const NotIndexed: Self = Self(1i32);
81 pub const PartiallyIndexed: Self = Self(2i32);
82 pub const FullyIndexed: Self = Self(3i32);
83 }
84 impl ::core::marker::Copy for IndexedState {}
85 impl ::core::clone::Clone for IndexedState {
86 fn clone(&self) -> Self {
87 *self
88 }
89 }
90 #[doc = "*Required features: `\"Storage_Search\"`*"]
91 #[repr(transparent)]
92 pub struct IndexerOption(pub i32);
93 impl IndexerOption {
94 pub const UseIndexerWhenAvailable: Self = Self(0i32);
95 pub const OnlyUseIndexer: Self = Self(1i32);
96 pub const DoNotUseIndexer: Self = Self(2i32);
97 pub const OnlyUseIndexerAndOptimizeForIndexedProperties: Self = Self(3i32);
98 }
99 impl ::core::marker::Copy for IndexerOption {}
100 impl ::core::clone::Clone for IndexerOption {
101 fn clone(&self) -> Self {
102 *self
103 }
104 }
105 pub type QueryOptions = *mut ::core::ffi::c_void;
106 #[repr(C)]
107 #[doc = "*Required features: `\"Storage_Search\"`*"]
108 pub struct SortEntry {
109 pub PropertyName: ::windows_sys::core::HSTRING,
110 pub AscendingOrder: bool,
111 }
112 impl ::core::marker::Copy for SortEntry {}
113 impl ::core::clone::Clone for SortEntry {
114 fn clone(&self) -> Self {
115 *self
116 }
117 }
118 pub type SortEntryVector = *mut ::core::ffi::c_void;
119 pub type StorageFileQueryResult = *mut ::core::ffi::c_void;
120 pub type StorageFolderQueryResult = *mut ::core::ffi::c_void;
121 pub type StorageItemQueryResult = *mut ::core::ffi::c_void;
122 pub type StorageLibraryChangeTrackerTriggerDetails = *mut ::core::ffi::c_void;
123 pub type StorageLibraryContentChangedTriggerDetails = *mut ::core::ffi::c_void;
124 pub type ValueAndLanguage = *mut ::core::ffi::c_void;