Struct IContextMenuProvider_Vtbl
#[repr(C)]pub struct IContextMenuProvider_Vtbl {
pub base__: IContextMenuCallback_Vtbl,
pub EmptyMenuList: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub AddPrimaryExtensionItems: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT,
pub AddThirdPartyExtensionItems: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub ShowContextMenu: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: i32, _: i32, _: *mut i32) -> HRESULT,
}
Fields§
§base__: IContextMenuCallback_Vtbl
§EmptyMenuList: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§AddPrimaryExtensionItems: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT
§AddThirdPartyExtensionItems: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§ShowContextMenu: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: i32, _: i32, _: *mut i32) -> HRESULT
Implementations§
§impl IContextMenuProvider_Vtbl
impl IContextMenuProvider_Vtbl
pub const fn new<Identity: IContextMenuProvider_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IContextMenuProvider_Vtbl
impl RefUnwindSafe for IContextMenuProvider_Vtbl
impl Send for IContextMenuProvider_Vtbl
impl Sync for IContextMenuProvider_Vtbl
impl Unpin for IContextMenuProvider_Vtbl
impl UnwindSafe for IContextMenuProvider_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