Struct windows::Win32::UI::Shell::IContextMenu_Vtbl
#[repr(C)]pub struct IContextMenu_Vtbl {
pub base__: IUnknown_Vtbl,
pub QueryContextMenu: unsafe extern "system" fn(_: *mut c_void, _: HMENU, _: u32, _: u32, _: u32, _: u32) -> HRESULT,
pub InvokeCommand: unsafe extern "system" fn(_: *mut c_void, _: *const CMINVOKECOMMANDINFO) -> HRESULT,
pub GetCommandString: unsafe extern "system" fn(_: *mut c_void, _: usize, _: u32, _: *const u32, _: PSTR, _: u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§QueryContextMenu: unsafe extern "system" fn(_: *mut c_void, _: HMENU, _: u32, _: u32, _: u32, _: u32) -> HRESULT
§InvokeCommand: unsafe extern "system" fn(_: *mut c_void, _: *const CMINVOKECOMMANDINFO) -> HRESULT
§GetCommandString: unsafe extern "system" fn(_: *mut c_void, _: usize, _: u32, _: *const u32, _: PSTR, _: u32) -> HRESULT
Implementations§
§impl IContextMenu_Vtbl
impl IContextMenu_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IContextMenu_Vtblwhere
Identity: IContextMenu_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IContextMenu_Vtbl
impl RefUnwindSafe for IContextMenu_Vtbl
impl Send for IContextMenu_Vtbl
impl Sync for IContextMenu_Vtbl
impl Unpin for IContextMenu_Vtbl
impl UnwindSafe for IContextMenu_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more