pub struct INameSpaceTreeControl(/* private fields */);
Implementations§
Source§impl INameSpaceTreeControl
impl INameSpaceTreeControl
pub unsafe fn Initialize<'a>( &self, hwndparent: impl IntoParam<'a, HWND>, prc: *mut RECT, nsctsflags: u32, ) -> Result<()>
pub unsafe fn TreeAdvise<'a>( &self, punk: impl IntoParam<'a, IUnknown>, ) -> Result<u32>
pub unsafe fn TreeUnadvise(&self, dwcookie: u32) -> Result<()>
pub unsafe fn AppendRoot<'a>( &self, psiroot: impl IntoParam<'a, IShellItem>, grfenumflags: u32, grfrootstyle: u32, pif: impl IntoParam<'a, IShellItemFilter>, ) -> Result<()>
pub unsafe fn InsertRoot<'a>( &self, iindex: i32, psiroot: impl IntoParam<'a, IShellItem>, grfenumflags: u32, grfrootstyle: u32, pif: impl IntoParam<'a, IShellItemFilter>, ) -> Result<()>
pub unsafe fn RemoveRoot<'a>( &self, psiroot: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn RemoveAllRoots(&self) -> Result<()>
pub unsafe fn GetRootItems(&self) -> Result<IShellItemArray>
pub unsafe fn SetItemState<'a>( &self, psi: impl IntoParam<'a, IShellItem>, nstcismask: u32, nstcisflags: u32, ) -> Result<()>
pub unsafe fn GetItemState<'a>( &self, psi: impl IntoParam<'a, IShellItem>, nstcismask: u32, ) -> Result<u32>
pub unsafe fn GetSelectedItems(&self) -> Result<IShellItemArray>
pub unsafe fn GetItemCustomState<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<i32>
pub unsafe fn SetItemCustomState<'a>( &self, psi: impl IntoParam<'a, IShellItem>, istatenumber: i32, ) -> Result<()>
pub unsafe fn EnsureItemVisible<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<()>
pub unsafe fn SetTheme<'a>( &self, psztheme: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetNextItem<'a>( &self, psi: impl IntoParam<'a, IShellItem>, nstcgi: NSTCGNI, ) -> Result<IShellItem>
pub unsafe fn HitTest(&self, ppt: *mut POINT) -> Result<IShellItem>
pub unsafe fn GetItemRect<'a>( &self, psi: impl IntoParam<'a, IShellItem>, ) -> Result<RECT>
pub unsafe fn CollapseAll(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for INameSpaceTreeControl
impl Clone for INameSpaceTreeControl
Source§fn clone(&self) -> INameSpaceTreeControl
fn clone(&self) -> INameSpaceTreeControl
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 INameSpaceTreeControl
impl Debug for INameSpaceTreeControl
Source§impl From<&INameSpaceTreeControl> for IUnknown
impl From<&INameSpaceTreeControl> for IUnknown
Source§fn from(value: &INameSpaceTreeControl) -> Self
fn from(value: &INameSpaceTreeControl) -> Self
Converts to this type from the input type.
Source§impl From<&INameSpaceTreeControl2> for INameSpaceTreeControl
impl From<&INameSpaceTreeControl2> for INameSpaceTreeControl
Source§fn from(value: &INameSpaceTreeControl2) -> Self
fn from(value: &INameSpaceTreeControl2) -> Self
Converts to this type from the input type.
Source§impl From<INameSpaceTreeControl> for IUnknown
impl From<INameSpaceTreeControl> for IUnknown
Source§fn from(value: INameSpaceTreeControl) -> Self
fn from(value: INameSpaceTreeControl) -> Self
Converts to this type from the input type.
Source§impl From<INameSpaceTreeControl2> for INameSpaceTreeControl
impl From<INameSpaceTreeControl2> for INameSpaceTreeControl
Source§fn from(value: INameSpaceTreeControl2) -> Self
fn from(value: INameSpaceTreeControl2) -> Self
Converts to this type from the input type.
Source§impl Interface for INameSpaceTreeControl
impl Interface for INameSpaceTreeControl
const IID: Guid
type Vtable = INameSpaceTreeControl_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 INameSpaceTreeControl
impl PartialEq for INameSpaceTreeControl
impl Eq for INameSpaceTreeControl
impl StructuralPartialEq for INameSpaceTreeControl
Auto Trait Implementations§
impl Freeze for INameSpaceTreeControl
impl RefUnwindSafe for INameSpaceTreeControl
impl !Send for INameSpaceTreeControl
impl !Sync for INameSpaceTreeControl
impl Unpin for INameSpaceTreeControl
impl UnwindSafe for INameSpaceTreeControl
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