diff options
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Ribbon/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Ribbon/mod.rs | 226 |
1 files changed, 226 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Ribbon/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Ribbon/mod.rs new file mode 100644 index 0000000..4277c4c --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Ribbon/mod.rs @@ -0,0 +1,226 @@ +pub type IUIApplication = *mut ::core::ffi::c_void; +pub type IUICollection = *mut ::core::ffi::c_void; +pub type IUICollectionChangedEvent = *mut ::core::ffi::c_void; +pub type IUICommandHandler = *mut ::core::ffi::c_void; +pub type IUIContextualUI = *mut ::core::ffi::c_void; +pub type IUIEventLogger = *mut ::core::ffi::c_void; +pub type IUIEventingManager = *mut ::core::ffi::c_void; +pub type IUIFramework = *mut ::core::ffi::c_void; +pub type IUIImage = *mut ::core::ffi::c_void; +pub type IUIImageFromBitmap = *mut ::core::ffi::c_void; +pub type IUIRibbon = *mut ::core::ffi::c_void; +pub type IUISimplePropertySet = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const LIBID_UIRibbon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x942f35c2_e83b_45ef_b085_ac295dd63d5b); +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UIRibbonFramework: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x926749fa_2615_4987_8845_c33e65f2b957); +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UIRibbonImageFromBitmapFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0f7434b6_59b6_4250_999e_d168d6ae4293); +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_ALL_COMMANDS: u32 = 0u32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COLLECTION_INVALIDINDEX: u32 = 4294967295u32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_COLLECTIONCHANGE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COLLECTIONCHANGE_INSERT: UI_COLLECTIONCHANGE = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COLLECTIONCHANGE_REMOVE: UI_COLLECTIONCHANGE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COLLECTIONCHANGE_REPLACE: UI_COLLECTIONCHANGE = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COLLECTIONCHANGE_RESET: UI_COLLECTIONCHANGE = 3i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_COMMANDTYPE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_UNKNOWN: UI_COMMANDTYPE = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_GROUP: UI_COMMANDTYPE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_ACTION: UI_COMMANDTYPE = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_ANCHOR: UI_COMMANDTYPE = 3i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_CONTEXT: UI_COMMANDTYPE = 4i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_COLLECTION: UI_COMMANDTYPE = 5i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_COMMANDCOLLECTION: UI_COMMANDTYPE = 6i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_DECIMAL: UI_COMMANDTYPE = 7i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_BOOLEAN: UI_COMMANDTYPE = 8i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_FONT: UI_COMMANDTYPE = 9i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_RECENTITEMS: UI_COMMANDTYPE = 10i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_COLORANCHOR: UI_COMMANDTYPE = 11i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_COMMANDTYPE_COLORCOLLECTION: UI_COMMANDTYPE = 12i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_CONTEXTAVAILABILITY = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_CONTEXTAVAILABILITY_NOTAVAILABLE: UI_CONTEXTAVAILABILITY = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_CONTEXTAVAILABILITY_AVAILABLE: UI_CONTEXTAVAILABILITY = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_CONTEXTAVAILABILITY_ACTIVE: UI_CONTEXTAVAILABILITY = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_CONTROLDOCK = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_CONTROLDOCK_TOP: UI_CONTROLDOCK = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_CONTROLDOCK_BOTTOM: UI_CONTROLDOCK = 3i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_EVENTLOCATION = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTLOCATION_Ribbon: UI_EVENTLOCATION = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTLOCATION_QAT: UI_EVENTLOCATION = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTLOCATION_ApplicationMenu: UI_EVENTLOCATION = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTLOCATION_ContextPopup: UI_EVENTLOCATION = 3i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_EVENTTYPE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_ApplicationMenuOpened: UI_EVENTTYPE = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_RibbonMinimized: UI_EVENTTYPE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_RibbonExpanded: UI_EVENTTYPE = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_ApplicationModeSwitched: UI_EVENTTYPE = 3i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_TabActivated: UI_EVENTTYPE = 4i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_MenuOpened: UI_EVENTTYPE = 5i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_CommandExecuted: UI_EVENTTYPE = 6i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EVENTTYPE_TooltipShown: UI_EVENTTYPE = 7i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_EXECUTIONVERB = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EXECUTIONVERB_EXECUTE: UI_EXECUTIONVERB = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EXECUTIONVERB_PREVIEW: UI_EXECUTIONVERB = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_EXECUTIONVERB_CANCELPREVIEW: UI_EXECUTIONVERB = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_FONTDELTASIZE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTDELTASIZE_GROW: UI_FONTDELTASIZE = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTDELTASIZE_SHRINK: UI_FONTDELTASIZE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_FONTPROPERTIES = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTPROPERTIES_NOTAVAILABLE: UI_FONTPROPERTIES = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTPROPERTIES_NOTSET: UI_FONTPROPERTIES = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTPROPERTIES_SET: UI_FONTPROPERTIES = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_FONTUNDERLINE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTUNDERLINE_NOTAVAILABLE: UI_FONTUNDERLINE = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTUNDERLINE_NOTSET: UI_FONTUNDERLINE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTUNDERLINE_SET: UI_FONTUNDERLINE = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_FONTVERTICALPOSITION = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTVERTICALPOSITION_NOTAVAILABLE: UI_FONTVERTICALPOSITION = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTVERTICALPOSITION_NOTSET: UI_FONTVERTICALPOSITION = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTVERTICALPOSITION_SUPERSCRIPT: UI_FONTVERTICALPOSITION = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_FONTVERTICALPOSITION_SUBSCRIPT: UI_FONTVERTICALPOSITION = 3i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_INVALIDATIONS = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_INVALIDATIONS_STATE: UI_INVALIDATIONS = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_INVALIDATIONS_VALUE: UI_INVALIDATIONS = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_INVALIDATIONS_PROPERTY: UI_INVALIDATIONS = 4i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_INVALIDATIONS_ALLPROPERTIES: UI_INVALIDATIONS = 8i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_OWNERSHIP = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_OWNERSHIP_TRANSFER: UI_OWNERSHIP = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_OWNERSHIP_COPY: UI_OWNERSHIP = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_SWATCHCOLORMODE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_SWATCHCOLORMODE_NORMAL: UI_SWATCHCOLORMODE = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_SWATCHCOLORMODE_MONOCHROME: UI_SWATCHCOLORMODE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_SWATCHCOLORTYPE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_SWATCHCOLORTYPE_NOCOLOR: UI_SWATCHCOLORTYPE = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_SWATCHCOLORTYPE_AUTOMATIC: UI_SWATCHCOLORTYPE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_SWATCHCOLORTYPE_RGB: UI_SWATCHCOLORTYPE = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_VIEWTYPE = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_VIEWTYPE_RIBBON: UI_VIEWTYPE = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub type UI_VIEWVERB = i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_VIEWVERB_CREATE: UI_VIEWVERB = 0i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_VIEWVERB_DESTROY: UI_VIEWVERB = 1i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_VIEWVERB_SIZE: UI_VIEWVERB = 2i32; +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub const UI_VIEWVERB_ERROR: UI_VIEWVERB = 3i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub struct UI_EVENTPARAMS { + pub EventType: UI_EVENTTYPE, + pub Anonymous: UI_EVENTPARAMS_0, +} +impl ::core::marker::Copy for UI_EVENTPARAMS {} +impl ::core::clone::Clone for UI_EVENTPARAMS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub union UI_EVENTPARAMS_0 { + pub Modes: i32, + pub Params: UI_EVENTPARAMS_COMMAND, +} +impl ::core::marker::Copy for UI_EVENTPARAMS_0 {} +impl ::core::clone::Clone for UI_EVENTPARAMS_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_UI_Ribbon\"`*"] +pub struct UI_EVENTPARAMS_COMMAND { + pub CommandID: u32, + pub CommandName: ::windows_sys::core::PCWSTR, + pub ParentCommandID: u32, + pub ParentCommandName: ::windows_sys::core::PCWSTR, + pub SelectionIndex: u32, + pub Location: UI_EVENTLOCATION, +} +impl ::core::marker::Copy for UI_EVENTPARAMS_COMMAND {} +impl ::core::clone::Clone for UI_EVENTPARAMS_COMMAND { + fn clone(&self) -> Self { + *self + } +} |