Trait IShellFolderView_Impl
pub trait IShellFolderView_Impl: IUnknownImpl {
Show 28 methods
// Required methods
fn Rearrange(&self, lparamsort: LPARAM) -> Result<()>;
fn GetArrangeParam(&self) -> Result<LPARAM>;
fn ArrangeGrid(&self) -> Result<()>;
fn AutoArrange(&self) -> Result<()>;
fn GetAutoArrange(&self) -> Result<()>;
fn AddObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>;
fn GetObject(&self, ppidl: *mut *mut ITEMIDLIST, uitem: u32) -> Result<()>;
fn RemoveObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>;
fn GetObjectCount(&self) -> Result<u32>;
fn SetObjectCount(&self, ucount: u32, dwflags: u32) -> Result<()>;
fn UpdateObject(
&self,
pidlold: *const ITEMIDLIST,
pidlnew: *const ITEMIDLIST,
) -> Result<u32>;
fn RefreshObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>;
fn SetRedraw(&self, bredraw: BOOL) -> Result<()>;
fn GetSelectedCount(&self) -> Result<u32>;
fn GetSelectedObjects(
&self,
pppidl: *mut *mut *mut ITEMIDLIST,
puitems: *mut u32,
) -> Result<()>;
fn IsDropOnSource(&self, pdroptarget: Ref<'_, IDropTarget>) -> Result<()>;
fn GetDragPoint(&self) -> Result<POINT>;
fn GetDropPoint(&self) -> Result<POINT>;
fn MoveIcons(&self, pdataobject: Ref<'_, IDataObject>) -> Result<()>;
fn SetItemPos(
&self,
pidl: *const ITEMIDLIST,
ppt: *const POINT,
) -> Result<()>;
fn IsBkDropTarget(&self, pdroptarget: Ref<'_, IDropTarget>) -> Result<()>;
fn SetClipboard(&self, bmove: BOOL) -> Result<()>;
fn SetPoints(&self, pdataobject: Ref<'_, IDataObject>) -> Result<()>;
fn GetItemSpacing(&self) -> Result<ITEMSPACING>;
fn SetCallback(
&self,
pnewcb: Ref<'_, IShellFolderViewCB>,
) -> Result<IShellFolderViewCB>;
fn Select(&self, dwflags: &SFVS_SELECT) -> Result<()>;
fn QuerySupport(&self, pdwsupport: *mut u32) -> Result<()>;
fn SetAutomationObject(&self, pdisp: Ref<'_, IDispatch>) -> Result<()>;
}
Required Methods§
fn Rearrange(&self, lparamsort: LPARAM) -> Result<()>
fn GetArrangeParam(&self) -> Result<LPARAM>
fn ArrangeGrid(&self) -> Result<()>
fn AutoArrange(&self) -> Result<()>
fn GetAutoArrange(&self) -> Result<()>
fn AddObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>
fn GetObject(&self, ppidl: *mut *mut ITEMIDLIST, uitem: u32) -> Result<()>
fn RemoveObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>
fn GetObjectCount(&self) -> Result<u32>
fn SetObjectCount(&self, ucount: u32, dwflags: u32) -> Result<()>
fn UpdateObject( &self, pidlold: *const ITEMIDLIST, pidlnew: *const ITEMIDLIST, ) -> Result<u32>
fn RefreshObject(&self, pidl: *const ITEMIDLIST) -> Result<u32>
fn SetRedraw(&self, bredraw: BOOL) -> Result<()>
fn GetSelectedCount(&self) -> Result<u32>
fn GetSelectedObjects( &self, pppidl: *mut *mut *mut ITEMIDLIST, puitems: *mut u32, ) -> Result<()>
fn IsDropOnSource(&self, pdroptarget: Ref<'_, IDropTarget>) -> Result<()>
fn GetDragPoint(&self) -> Result<POINT>
fn GetDropPoint(&self) -> Result<POINT>
fn MoveIcons(&self, pdataobject: Ref<'_, IDataObject>) -> Result<()>
fn SetItemPos(&self, pidl: *const ITEMIDLIST, ppt: *const POINT) -> Result<()>
fn IsBkDropTarget(&self, pdroptarget: Ref<'_, IDropTarget>) -> Result<()>
fn SetClipboard(&self, bmove: BOOL) -> Result<()>
fn SetPoints(&self, pdataobject: Ref<'_, IDataObject>) -> Result<()>
fn GetItemSpacing(&self) -> Result<ITEMSPACING>
fn SetCallback( &self, pnewcb: Ref<'_, IShellFolderViewCB>, ) -> Result<IShellFolderViewCB>
fn Select(&self, dwflags: &SFVS_SELECT) -> Result<()>
fn QuerySupport(&self, pdwsupport: *mut u32) -> Result<()>
fn SetAutomationObject(&self, pdisp: Ref<'_, IDispatch>) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.