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