Struct windows::Win32::UI::Shell::IShellFolderView
pub struct IShellFolderView(/* private fields */);
Implementations§
§impl IShellFolderView
impl IShellFolderView
pub unsafe fn Rearrange<P0>(&self, lparamsort: P0) -> Result<()>where
P0: Param<LPARAM>,
pub unsafe fn GetArrangeParam(&self) -> Result<LPARAM>
pub unsafe fn ArrangeGrid(&self) -> Result<()>
pub unsafe fn AutoArrange(&self) -> Result<()>
pub unsafe fn GetAutoArrange(&self) -> Result<()>
pub unsafe fn AddObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>
pub unsafe fn GetObject( &self, ppidl: *mut *mut ITEMIDLIST, uitem: u32, ) -> Result<()>
pub unsafe fn RemoveObject( &self, pidl: Option<*const ITEMIDLIST>, ) -> Result<u32>
pub unsafe fn GetObjectCount(&self) -> Result<u32>
pub unsafe fn SetObjectCount(&self, ucount: u32, dwflags: u32) -> Result<()>
pub unsafe fn UpdateObject( &self, pidlold: *const ITEMIDLIST, pidlnew: *const ITEMIDLIST, ) -> Result<u32>
pub unsafe fn RefreshObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>
pub unsafe fn SetRedraw<P0>(&self, bredraw: P0) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn GetSelectedCount(&self) -> Result<u32>
pub unsafe fn GetSelectedObjects( &self, pppidl: *mut *mut *mut ITEMIDLIST, puitems: *mut u32, ) -> Result<()>
pub unsafe fn IsDropOnSource<P0>(&self, pdroptarget: P0) -> Result<()>where
P0: Param<IDropTarget>,
pub unsafe fn GetDragPoint(&self) -> Result<POINT>
pub unsafe fn GetDropPoint(&self) -> Result<POINT>
pub unsafe fn MoveIcons<P0>(&self, pdataobject: P0) -> Result<()>where
P0: Param<IDataObject>,
pub unsafe fn SetItemPos( &self, pidl: *const ITEMIDLIST, ppt: *const POINT, ) -> Result<()>
pub unsafe fn IsBkDropTarget<P0>(&self, pdroptarget: P0) -> Result<()>where
P0: Param<IDropTarget>,
pub unsafe fn SetClipboard<P0>(&self, bmove: P0) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn SetPoints<P0>(&self, pdataobject: P0) -> Result<()>where
P0: Param<IDataObject>,
pub unsafe fn GetItemSpacing(&self) -> Result<ITEMSPACING>
pub unsafe fn SetCallback<P0>(&self, pnewcb: P0) -> Result<IShellFolderViewCB>where
P0: Param<IShellFolderViewCB>,
pub unsafe fn Select(&self, dwflags: SFVS_SELECT) -> Result<()>
pub unsafe fn QuerySupport(&self, pdwsupport: *mut u32) -> Result<()>
pub unsafe fn SetAutomationObject<P0>(&self, pdisp: P0) -> Result<()>where
P0: Param<IDispatch>,
Trait Implementations§
§impl CanInto<IUnknown> for IShellFolderView
impl CanInto<IUnknown> for IShellFolderView
§impl Clone for IShellFolderView
impl Clone for IShellFolderView
§fn clone(&self) -> IShellFolderView
fn clone(&self) -> IShellFolderView
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 more§impl Debug for IShellFolderView
impl Debug for IShellFolderView
§impl Deref for IShellFolderView
impl Deref for IShellFolderView
§impl From<&IShellFolderView> for &IUnknown
impl From<&IShellFolderView> for &IUnknown
§fn from(value: &IShellFolderView) -> Self
fn from(value: &IShellFolderView) -> Self
Converts to this type from the input type.
§impl From<IShellFolderView> for IUnknown
impl From<IShellFolderView> for IUnknown
§fn from(value: IShellFolderView) -> Self
fn from(value: IShellFolderView) -> Self
Converts to this type from the input type.
§impl Interface for IShellFolderView
impl Interface for IShellFolderView
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IShellFolderView
impl PartialEq for IShellFolderView
§fn eq(&self, other: &IShellFolderView) -> bool
fn eq(&self, other: &IShellFolderView) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IShellFolderView
impl StructuralPartialEq for IShellFolderView
Auto Trait Implementations§
impl Freeze for IShellFolderView
impl RefUnwindSafe for IShellFolderView
impl !Send for IShellFolderView
impl !Sync for IShellFolderView
impl Unpin for IShellFolderView
impl UnwindSafe for IShellFolderView
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)