pub struct INameSpaceTreeControlEvents(/* private fields */);
Implementations§
Source§impl INameSpaceTreeControlEvents
impl INameSpaceTreeControlEvents
pub unsafe fn OnItemClick<'a>( &self, psi: impl IntoParam<'a, IShellItem>, nstcehittest: u32, nstceclicktype: u32, ) -> Result<()>
pub unsafe fn OnPropertyItemCommit<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn OnItemStateChanging<'a>( &self, psi: impl IntoParam<'a, IShellItem>, nstcismask: u32, nstcisstate: u32, ) -> Result<()>
pub unsafe fn OnItemStateChanged<'a>( &self, psi: impl IntoParam<'a, IShellItem>, nstcismask: u32, nstcisstate: u32, ) -> Result<()>
pub unsafe fn OnSelectionChanged<'a>( &self, psiaselection: impl IntoParam<'a, IShellItemArray>, ) -> Result<()>
pub unsafe fn OnKeyboardInput<'a>( &self, umsg: u32, wparam: impl IntoParam<'a, WPARAM>, lparam: impl IntoParam<'a, LPARAM>, ) -> Result<()>
pub unsafe fn OnBeforeExpand<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn OnAfterExpand<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn OnBeginLabelEdit<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn OnEndLabelEdit<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn OnGetToolTip<'a>( &self, psi: impl IntoParam<'a, IShellItem>, psztip: PWSTR, cchtip: i32, ) -> Result<()>
pub unsafe fn OnBeforeItemDelete<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn OnItemAdded<'a>( &self, psi: impl IntoParam<'a, IShellItem>, fisroot: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn OnItemDeleted<'a>( &self, psi: impl IntoParam<'a, IShellItem>, fisroot: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn OnBeforeContextMenu<'a, T: Interface>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<T>
pub unsafe fn OnAfterContextMenu<'a, T: Interface>( &self, psi: impl IntoParam<'a, IShellItem>, pcmin: impl IntoParam<'a, IContextMenu>, ) -> Result<T>
pub unsafe fn OnBeforeStateImageChange<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn OnGetDefaultIconIndex<'a>( &self, psi: impl IntoParam<'a, IShellItem>, pidefaulticon: *mut i32, piopenicon: *mut i32, ) -> Result<()>
Trait Implementations§
Source§impl Clone for INameSpaceTreeControlEvents
impl Clone for INameSpaceTreeControlEvents
Source§fn clone(&self) -> INameSpaceTreeControlEvents
fn clone(&self) -> INameSpaceTreeControlEvents
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 INameSpaceTreeControlEvents
impl Debug for INameSpaceTreeControlEvents
Source§impl From<&INameSpaceTreeControlEvents> for IUnknown
impl From<&INameSpaceTreeControlEvents> for IUnknown
Source§fn from(value: &INameSpaceTreeControlEvents) -> Self
fn from(value: &INameSpaceTreeControlEvents) -> Self
Converts to this type from the input type.
Source§impl From<INameSpaceTreeControlEvents> for IUnknown
impl From<INameSpaceTreeControlEvents> for IUnknown
Source§fn from(value: INameSpaceTreeControlEvents) -> Self
fn from(value: INameSpaceTreeControlEvents) -> Self
Converts to this type from the input type.
Source§impl Interface for INameSpaceTreeControlEvents
impl Interface for INameSpaceTreeControlEvents
const IID: Guid
type Vtable = INameSpaceTreeControlEvents_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
impl Eq for INameSpaceTreeControlEvents
impl StructuralPartialEq for INameSpaceTreeControlEvents
Auto Trait Implementations§
impl Freeze for INameSpaceTreeControlEvents
impl RefUnwindSafe for INameSpaceTreeControlEvents
impl !Send for INameSpaceTreeControlEvents
impl !Sync for INameSpaceTreeControlEvents
impl Unpin for INameSpaceTreeControlEvents
impl UnwindSafe for INameSpaceTreeControlEvents
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