pub struct INameSpaceTreeControl2(/* private fields */);
Implementations§
Source§impl INameSpaceTreeControl2
impl INameSpaceTreeControl2
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<()>
pub unsafe fn SetControlStyle( &self, nstcsmask: u32, nstcsstyle: u32, ) -> Result<()>
pub unsafe fn GetControlStyle(&self, nstcsmask: u32) -> Result<u32>
pub unsafe fn SetControlStyle2( &self, nstcsmask: NSTCSTYLE2, nstcsstyle: NSTCSTYLE2, ) -> Result<()>
pub unsafe fn GetControlStyle2( &self, nstcsmask: NSTCSTYLE2, ) -> Result<NSTCSTYLE2>
Trait Implementations§
Source§impl Clone for INameSpaceTreeControl2
impl Clone for INameSpaceTreeControl2
Source§fn clone(&self) -> INameSpaceTreeControl2
fn clone(&self) -> INameSpaceTreeControl2
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 INameSpaceTreeControl2
impl Debug for INameSpaceTreeControl2
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<&INameSpaceTreeControl2> for IUnknown
impl From<&INameSpaceTreeControl2> for IUnknown
Source§fn from(value: &INameSpaceTreeControl2) -> Self
fn from(value: &INameSpaceTreeControl2) -> 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<INameSpaceTreeControl2> for IUnknown
impl From<INameSpaceTreeControl2> for IUnknown
Source§fn from(value: INameSpaceTreeControl2) -> Self
fn from(value: INameSpaceTreeControl2) -> Self
Converts to this type from the input type.
Source§impl Interface for INameSpaceTreeControl2
impl Interface for INameSpaceTreeControl2
const IID: Guid
type Vtable = INameSpaceTreeControl2_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 INameSpaceTreeControl2
impl PartialEq for INameSpaceTreeControl2
impl Eq for INameSpaceTreeControl2
impl StructuralPartialEq for INameSpaceTreeControl2
Auto Trait Implementations§
impl Freeze for INameSpaceTreeControl2
impl RefUnwindSafe for INameSpaceTreeControl2
impl !Send for INameSpaceTreeControl2
impl !Sync for INameSpaceTreeControl2
impl Unpin for INameSpaceTreeControl2
impl UnwindSafe for INameSpaceTreeControl2
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