pub struct IFolderView2(/* private fields */);
Implementations§
Source§impl IFolderView2
impl IFolderView2
pub unsafe fn GetCurrentViewMode(&self) -> Result<u32>
pub unsafe fn SetCurrentViewMode(&self, viewmode: u32) -> Result<()>
pub unsafe fn GetFolder<T: Interface>(&self) -> Result<T>
pub unsafe fn Item(&self, iitemindex: i32) -> Result<*mut ITEMIDLIST>
pub unsafe fn ItemCount(&self, uflags: u32) -> Result<i32>
pub unsafe fn Items<T: Interface>(&self, uflags: u32) -> Result<T>
pub unsafe fn GetSelectionMarkedItem(&self) -> Result<i32>
pub unsafe fn GetFocusedItem(&self) -> Result<i32>
pub unsafe fn GetItemPosition(&self, pidl: *mut ITEMIDLIST) -> Result<POINT>
pub unsafe fn GetSpacing(&self, ppt: *mut POINT) -> Result<()>
pub unsafe fn GetDefaultSpacing(&self) -> Result<POINT>
pub unsafe fn GetAutoArrange(&self) -> Result<()>
pub unsafe fn SelectItem(&self, iitem: i32, dwflags: u32) -> Result<()>
pub unsafe fn SelectAndPositionItems( &self, cidl: u32, apidl: *mut *mut ITEMIDLIST, apt: *mut POINT, dwflags: u32, ) -> Result<()>
pub unsafe fn SetGroupBy<'a>( &self, key: *const PROPERTYKEY, fascending: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn GetGroupBy( &self, pkey: *mut PROPERTYKEY, pfascending: *mut BOOL, ) -> Result<()>
pub unsafe fn SetViewProperty( &self, pidl: *mut ITEMIDLIST, propkey: *const PROPERTYKEY, propvar: *const PROPVARIANT, ) -> Result<()>
pub unsafe fn GetViewProperty( &self, pidl: *mut ITEMIDLIST, propkey: *const PROPERTYKEY, ) -> Result<PROPVARIANT>
pub unsafe fn SetTileViewProperties<'a>( &self, pidl: *mut ITEMIDLIST, pszproplist: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetExtendedTileViewProperties<'a>( &self, pidl: *mut ITEMIDLIST, pszproplist: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetText<'a>( &self, itype: FVTEXTTYPE, pwsztext: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn SetCurrentFolderFlags( &self, dwmask: u32, dwflags: u32, ) -> Result<()>
pub unsafe fn GetCurrentFolderFlags(&self) -> Result<u32>
pub unsafe fn GetSortColumnCount(&self) -> Result<i32>
pub unsafe fn SetSortColumns( &self, rgsortcolumns: *const SORTCOLUMN, ccolumns: i32, ) -> Result<()>
pub unsafe fn GetSortColumns( &self, rgsortcolumns: *mut SORTCOLUMN, ccolumns: i32, ) -> Result<()>
pub unsafe fn GetItem<T: Interface>(&self, iitem: i32) -> Result<T>
pub unsafe fn GetVisibleItem<'a>( &self, istart: i32, fprevious: impl IntoParam<'a, BOOL>, ) -> Result<i32>
pub unsafe fn GetSelectedItem(&self, istart: i32) -> Result<i32>
pub unsafe fn GetSelection<'a>( &self, fnoneimpliesfolder: impl IntoParam<'a, BOOL>, ) -> Result<IShellItemArray>
pub unsafe fn GetSelectionState(&self, pidl: *mut ITEMIDLIST) -> Result<u32>
pub unsafe fn InvokeVerbOnSelection<'a>( &self, pszverb: impl IntoParam<'a, PSTR>, ) -> Result<()>
pub unsafe fn SetViewModeAndIconSize( &self, uviewmode: FOLDERVIEWMODE, iimagesize: i32, ) -> Result<()>
pub unsafe fn GetViewModeAndIconSize( &self, puviewmode: *mut FOLDERVIEWMODE, piimagesize: *mut i32, ) -> Result<()>
pub unsafe fn SetGroupSubsetCount(&self, cvisiblerows: u32) -> Result<()>
pub unsafe fn GetGroupSubsetCount(&self) -> Result<u32>
pub unsafe fn SetRedraw<'a>( &self, fredrawon: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn IsMoveInSameFolder(&self) -> Result<()>
pub unsafe fn DoRename(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for IFolderView2
impl Clone for IFolderView2
Source§fn clone(&self) -> IFolderView2
fn clone(&self) -> IFolderView2
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 IFolderView2
impl Debug for IFolderView2
Source§impl From<&IFolderView2> for IFolderView
impl From<&IFolderView2> for IFolderView
Source§fn from(value: &IFolderView2) -> Self
fn from(value: &IFolderView2) -> Self
Converts to this type from the input type.
Source§impl From<&IFolderView2> for IUnknown
impl From<&IFolderView2> for IUnknown
Source§fn from(value: &IFolderView2) -> Self
fn from(value: &IFolderView2) -> Self
Converts to this type from the input type.
Source§impl From<IFolderView2> for IFolderView
impl From<IFolderView2> for IFolderView
Source§fn from(value: IFolderView2) -> Self
fn from(value: IFolderView2) -> Self
Converts to this type from the input type.
Source§impl From<IFolderView2> for IUnknown
impl From<IFolderView2> for IUnknown
Source§fn from(value: IFolderView2) -> Self
fn from(value: IFolderView2) -> Self
Converts to this type from the input type.
Source§impl Interface for IFolderView2
impl Interface for IFolderView2
const IID: Guid
type Vtable = IFolderView2_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 IFolderView2
impl PartialEq for IFolderView2
impl Eq for IFolderView2
impl StructuralPartialEq for IFolderView2
Auto Trait Implementations§
impl Freeze for IFolderView2
impl RefUnwindSafe for IFolderView2
impl !Send for IFolderView2
impl !Sync for IFolderView2
impl Unpin for IFolderView2
impl UnwindSafe for IFolderView2
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