pub struct IContextMenuCB(/* private fields */);
Implementations§
Source§impl IContextMenuCB
impl IContextMenuCB
pub unsafe fn CallBack<'a>( &self, psf: impl IntoParam<'a, IShellFolder>, hwndowner: impl IntoParam<'a, HWND>, pdtobj: impl IntoParam<'a, IDataObject>, umsg: u32, wparam: impl IntoParam<'a, WPARAM>, lparam: impl IntoParam<'a, LPARAM>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for IContextMenuCB
impl Clone for IContextMenuCB
Source§fn clone(&self) -> IContextMenuCB
fn clone(&self) -> IContextMenuCB
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IContextMenuCB
impl Debug for IContextMenuCB
Source§impl From<&IContextMenuCB> for IUnknown
impl From<&IContextMenuCB> for IUnknown
Source§fn from(value: &IContextMenuCB) -> Self
fn from(value: &IContextMenuCB) -> Self
Converts to this type from the input type.
Source§impl From<IContextMenuCB> for IUnknown
impl From<IContextMenuCB> for IUnknown
Source§fn from(value: IContextMenuCB) -> Self
fn from(value: IContextMenuCB) -> Self
Converts to this type from the input type.
Source§impl Interface for IContextMenuCB
impl Interface for IContextMenuCB
const IID: Guid
type Vtable = IContextMenuCB_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IContextMenuCB
impl PartialEq for IContextMenuCB
impl Eq for IContextMenuCB
impl StructuralPartialEq for IContextMenuCB
Auto Trait Implementations§
impl Freeze for IContextMenuCB
impl RefUnwindSafe for IContextMenuCB
impl !Send for IContextMenuCB
impl !Sync for IContextMenuCB
impl Unpin for IContextMenuCB
impl UnwindSafe for IContextMenuCB
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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