]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Win32/UI/Ribbon/mod.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / UI / Ribbon / mod.rs
1 pub type IUIApplication = *mut ::core::ffi::c_void;
2 pub type IUICollection = *mut ::core::ffi::c_void;
3 pub type IUICollectionChangedEvent = *mut ::core::ffi::c_void;
4 pub type IUICommandHandler = *mut ::core::ffi::c_void;
5 pub type IUIContextualUI = *mut ::core::ffi::c_void;
6 pub type IUIEventLogger = *mut ::core::ffi::c_void;
7 pub type IUIEventingManager = *mut ::core::ffi::c_void;
8 pub type IUIFramework = *mut ::core::ffi::c_void;
9 pub type IUIImage = *mut ::core::ffi::c_void;
10 pub type IUIImageFromBitmap = *mut ::core::ffi::c_void;
11 pub type IUIRibbon = *mut ::core::ffi::c_void;
12 pub type IUISimplePropertySet = *mut ::core::ffi::c_void;
13 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
14 pub const LIBID_UIRibbon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x942f35c2_e83b_45ef_b085_ac295dd63d5b);
15 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
16 pub const UIRibbonFramework: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x926749fa_2615_4987_8845_c33e65f2b957);
17 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
18 pub const UIRibbonImageFromBitmapFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0f7434b6_59b6_4250_999e_d168d6ae4293);
19 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
20 pub const UI_ALL_COMMANDS: u32 = 0u32;
21 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
22 pub const UI_COLLECTION_INVALIDINDEX: u32 = 4294967295u32;
23 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
24 pub type UI_COLLECTIONCHANGE = i32;
25 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
26 pub const UI_COLLECTIONCHANGE_INSERT: UI_COLLECTIONCHANGE = 0i32;
27 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
28 pub const UI_COLLECTIONCHANGE_REMOVE: UI_COLLECTIONCHANGE = 1i32;
29 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
30 pub const UI_COLLECTIONCHANGE_REPLACE: UI_COLLECTIONCHANGE = 2i32;
31 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
32 pub const UI_COLLECTIONCHANGE_RESET: UI_COLLECTIONCHANGE = 3i32;
33 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
34 pub type UI_COMMANDTYPE = i32;
35 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
36 pub const UI_COMMANDTYPE_UNKNOWN: UI_COMMANDTYPE = 0i32;
37 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
38 pub const UI_COMMANDTYPE_GROUP: UI_COMMANDTYPE = 1i32;
39 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
40 pub const UI_COMMANDTYPE_ACTION: UI_COMMANDTYPE = 2i32;
41 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
42 pub const UI_COMMANDTYPE_ANCHOR: UI_COMMANDTYPE = 3i32;
43 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
44 pub const UI_COMMANDTYPE_CONTEXT: UI_COMMANDTYPE = 4i32;
45 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
46 pub const UI_COMMANDTYPE_COLLECTION: UI_COMMANDTYPE = 5i32;
47 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
48 pub const UI_COMMANDTYPE_COMMANDCOLLECTION: UI_COMMANDTYPE = 6i32;
49 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
50 pub const UI_COMMANDTYPE_DECIMAL: UI_COMMANDTYPE = 7i32;
51 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
52 pub const UI_COMMANDTYPE_BOOLEAN: UI_COMMANDTYPE = 8i32;
53 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
54 pub const UI_COMMANDTYPE_FONT: UI_COMMANDTYPE = 9i32;
55 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
56 pub const UI_COMMANDTYPE_RECENTITEMS: UI_COMMANDTYPE = 10i32;
57 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
58 pub const UI_COMMANDTYPE_COLORANCHOR: UI_COMMANDTYPE = 11i32;
59 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
60 pub const UI_COMMANDTYPE_COLORCOLLECTION: UI_COMMANDTYPE = 12i32;
61 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
62 pub type UI_CONTEXTAVAILABILITY = i32;
63 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
64 pub const UI_CONTEXTAVAILABILITY_NOTAVAILABLE: UI_CONTEXTAVAILABILITY = 0i32;
65 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
66 pub const UI_CONTEXTAVAILABILITY_AVAILABLE: UI_CONTEXTAVAILABILITY = 1i32;
67 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
68 pub const UI_CONTEXTAVAILABILITY_ACTIVE: UI_CONTEXTAVAILABILITY = 2i32;
69 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
70 pub type UI_CONTROLDOCK = i32;
71 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
72 pub const UI_CONTROLDOCK_TOP: UI_CONTROLDOCK = 1i32;
73 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
74 pub const UI_CONTROLDOCK_BOTTOM: UI_CONTROLDOCK = 3i32;
75 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
76 pub type UI_EVENTLOCATION = i32;
77 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
78 pub const UI_EVENTLOCATION_Ribbon: UI_EVENTLOCATION = 0i32;
79 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
80 pub const UI_EVENTLOCATION_QAT: UI_EVENTLOCATION = 1i32;
81 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
82 pub const UI_EVENTLOCATION_ApplicationMenu: UI_EVENTLOCATION = 2i32;
83 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
84 pub const UI_EVENTLOCATION_ContextPopup: UI_EVENTLOCATION = 3i32;
85 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
86 pub type UI_EVENTTYPE = i32;
87 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
88 pub const UI_EVENTTYPE_ApplicationMenuOpened: UI_EVENTTYPE = 0i32;
89 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
90 pub const UI_EVENTTYPE_RibbonMinimized: UI_EVENTTYPE = 1i32;
91 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
92 pub const UI_EVENTTYPE_RibbonExpanded: UI_EVENTTYPE = 2i32;
93 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
94 pub const UI_EVENTTYPE_ApplicationModeSwitched: UI_EVENTTYPE = 3i32;
95 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
96 pub const UI_EVENTTYPE_TabActivated: UI_EVENTTYPE = 4i32;
97 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
98 pub const UI_EVENTTYPE_MenuOpened: UI_EVENTTYPE = 5i32;
99 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
100 pub const UI_EVENTTYPE_CommandExecuted: UI_EVENTTYPE = 6i32;
101 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
102 pub const UI_EVENTTYPE_TooltipShown: UI_EVENTTYPE = 7i32;
103 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
104 pub type UI_EXECUTIONVERB = i32;
105 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
106 pub const UI_EXECUTIONVERB_EXECUTE: UI_EXECUTIONVERB = 0i32;
107 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
108 pub const UI_EXECUTIONVERB_PREVIEW: UI_EXECUTIONVERB = 1i32;
109 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
110 pub const UI_EXECUTIONVERB_CANCELPREVIEW: UI_EXECUTIONVERB = 2i32;
111 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
112 pub type UI_FONTDELTASIZE = i32;
113 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
114 pub const UI_FONTDELTASIZE_GROW: UI_FONTDELTASIZE = 0i32;
115 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
116 pub const UI_FONTDELTASIZE_SHRINK: UI_FONTDELTASIZE = 1i32;
117 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
118 pub type UI_FONTPROPERTIES = i32;
119 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
120 pub const UI_FONTPROPERTIES_NOTAVAILABLE: UI_FONTPROPERTIES = 0i32;
121 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
122 pub const UI_FONTPROPERTIES_NOTSET: UI_FONTPROPERTIES = 1i32;
123 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
124 pub const UI_FONTPROPERTIES_SET: UI_FONTPROPERTIES = 2i32;
125 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
126 pub type UI_FONTUNDERLINE = i32;
127 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
128 pub const UI_FONTUNDERLINE_NOTAVAILABLE: UI_FONTUNDERLINE = 0i32;
129 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
130 pub const UI_FONTUNDERLINE_NOTSET: UI_FONTUNDERLINE = 1i32;
131 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
132 pub const UI_FONTUNDERLINE_SET: UI_FONTUNDERLINE = 2i32;
133 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
134 pub type UI_FONTVERTICALPOSITION = i32;
135 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
136 pub const UI_FONTVERTICALPOSITION_NOTAVAILABLE: UI_FONTVERTICALPOSITION = 0i32;
137 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
138 pub const UI_FONTVERTICALPOSITION_NOTSET: UI_FONTVERTICALPOSITION = 1i32;
139 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
140 pub const UI_FONTVERTICALPOSITION_SUPERSCRIPT: UI_FONTVERTICALPOSITION = 2i32;
141 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
142 pub const UI_FONTVERTICALPOSITION_SUBSCRIPT: UI_FONTVERTICALPOSITION = 3i32;
143 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
144 pub type UI_INVALIDATIONS = i32;
145 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
146 pub const UI_INVALIDATIONS_STATE: UI_INVALIDATIONS = 1i32;
147 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
148 pub const UI_INVALIDATIONS_VALUE: UI_INVALIDATIONS = 2i32;
149 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
150 pub const UI_INVALIDATIONS_PROPERTY: UI_INVALIDATIONS = 4i32;
151 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
152 pub const UI_INVALIDATIONS_ALLPROPERTIES: UI_INVALIDATIONS = 8i32;
153 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
154 pub type UI_OWNERSHIP = i32;
155 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
156 pub const UI_OWNERSHIP_TRANSFER: UI_OWNERSHIP = 0i32;
157 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
158 pub const UI_OWNERSHIP_COPY: UI_OWNERSHIP = 1i32;
159 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
160 pub type UI_SWATCHCOLORMODE = i32;
161 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
162 pub const UI_SWATCHCOLORMODE_NORMAL: UI_SWATCHCOLORMODE = 0i32;
163 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
164 pub const UI_SWATCHCOLORMODE_MONOCHROME: UI_SWATCHCOLORMODE = 1i32;
165 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
166 pub type UI_SWATCHCOLORTYPE = i32;
167 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
168 pub const UI_SWATCHCOLORTYPE_NOCOLOR: UI_SWATCHCOLORTYPE = 0i32;
169 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
170 pub const UI_SWATCHCOLORTYPE_AUTOMATIC: UI_SWATCHCOLORTYPE = 1i32;
171 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
172 pub const UI_SWATCHCOLORTYPE_RGB: UI_SWATCHCOLORTYPE = 2i32;
173 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
174 pub type UI_VIEWTYPE = i32;
175 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
176 pub const UI_VIEWTYPE_RIBBON: UI_VIEWTYPE = 1i32;
177 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
178 pub type UI_VIEWVERB = i32;
179 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
180 pub const UI_VIEWVERB_CREATE: UI_VIEWVERB = 0i32;
181 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
182 pub const UI_VIEWVERB_DESTROY: UI_VIEWVERB = 1i32;
183 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
184 pub const UI_VIEWVERB_SIZE: UI_VIEWVERB = 2i32;
185 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
186 pub const UI_VIEWVERB_ERROR: UI_VIEWVERB = 3i32;
187 #[repr(C)]
188 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
189 pub struct UI_EVENTPARAMS {
190 pub EventType: UI_EVENTTYPE,
191 pub Anonymous: UI_EVENTPARAMS_0,
192 }
193 impl ::core::marker::Copy for UI_EVENTPARAMS {}
194 impl ::core::clone::Clone for UI_EVENTPARAMS {
195 fn clone(&self) -> Self {
196 *self
197 }
198 }
199 #[repr(C)]
200 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
201 pub union UI_EVENTPARAMS_0 {
202 pub Modes: i32,
203 pub Params: UI_EVENTPARAMS_COMMAND,
204 }
205 impl ::core::marker::Copy for UI_EVENTPARAMS_0 {}
206 impl ::core::clone::Clone for UI_EVENTPARAMS_0 {
207 fn clone(&self) -> Self {
208 *self
209 }
210 }
211 #[repr(C)]
212 #[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"]
213 pub struct UI_EVENTPARAMS_COMMAND {
214 pub CommandID: u32,
215 pub CommandName: ::windows_sys::core::PCWSTR,
216 pub ParentCommandID: u32,
217 pub ParentCommandName: ::windows_sys::core::PCWSTR,
218 pub SelectionIndex: u32,
219 pub Location: UI_EVENTLOCATION,
220 }
221 impl ::core::marker::Copy for UI_EVENTPARAMS_COMMAND {}
222 impl ::core::clone::Clone for UI_EVENTPARAMS_COMMAND {
223 fn clone(&self) -> Self {
224 *self
225 }
226 }