1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[doc = "*Required features: 'Storage_Search'*"]
4 pub struct CommonFileQuery(pub i32);
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);
13 impl ::core
::marker
::Copy
for CommonFileQuery {}
14 impl ::core
::clone
::Clone
for CommonFileQuery
{
15 fn clone(&self) -> Self {
19 #[doc = "*Required features: 'Storage_Search'*"]
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);
37 impl ::core
::marker
::Copy
for CommonFolderQuery {}
38 impl ::core
::clone
::Clone
for CommonFolderQuery
{
39 fn clone(&self) -> Self {
43 pub type ContentIndexer
= *mut ::core
::ffi
::c_void
;
44 pub type ContentIndexerQuery
= *mut ::core
::ffi
::c_void
;
45 #[doc = "*Required features: 'Storage_Search'*"]
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);
53 impl ::core
::marker
::Copy
for DateStackOption {}
54 impl ::core
::clone
::Clone
for DateStackOption
{
55 fn clone(&self) -> Self {
59 #[doc = "*Required features: 'Storage_Search'*"]
61 pub struct FolderDepth(pub i32);
63 pub const Shallow
: Self = Self(0i32);
64 pub const Deep
: Self = Self(1i32);
66 impl ::core
::marker
::Copy
for FolderDepth {}
67 impl ::core
::clone
::Clone
for FolderDepth
{
68 fn clone(&self) -> Self {
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'*"]
78 pub struct IndexedState(pub i32);
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);
85 impl ::core
::marker
::Copy
for IndexedState {}
86 impl ::core
::clone
::Clone
for IndexedState
{
87 fn clone(&self) -> Self {
91 #[doc = "*Required features: 'Storage_Search'*"]
93 pub struct IndexerOption(pub i32);
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);
100 impl ::core
::marker
::Copy
for IndexerOption {}
101 impl ::core
::clone
::Clone
for IndexerOption
{
102 fn clone(&self) -> Self {
106 pub type QueryOptions
= *mut ::core
::ffi
::c_void
;
108 #[doc = "*Required features: 'Storage_Search'*"]
109 pub struct SortEntry
{
110 pub PropertyName
: ::windows_sys
::core
::HSTRING
,
111 pub AscendingOrder
: bool
,
113 impl ::core
::marker
::Copy
for SortEntry {}
114 impl ::core
::clone
::Clone
for SortEntry
{
115 fn clone(&self) -> Self {
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
;