pub struct IShellFolder2(/* private fields */);
Implementations§
Source§impl IShellFolder2
impl IShellFolder2
pub unsafe fn ParseDisplayName<'a>( &self, hwnd: impl IntoParam<'a, HWND>, pbc: impl IntoParam<'a, IBindCtx>, pszdisplayname: impl IntoParam<'a, PWSTR>, pcheaten: *mut u32, ppidl: *mut *mut ITEMIDLIST, pdwattributes: *mut u32, ) -> Result<()>
pub unsafe fn EnumObjects<'a>( &self, hwnd: impl IntoParam<'a, HWND>, grfflags: u32, ) -> Result<IEnumIDList>
pub unsafe fn BindToObject<'a, T: Interface>( &self, pidl: *mut ITEMIDLIST, pbc: impl IntoParam<'a, IBindCtx>, ) -> Result<T>
pub unsafe fn BindToStorage<'a, T: Interface>( &self, pidl: *mut ITEMIDLIST, pbc: impl IntoParam<'a, IBindCtx>, ) -> Result<T>
pub unsafe fn CompareIDs<'a>( &self, lparam: impl IntoParam<'a, LPARAM>, pidl1: *mut ITEMIDLIST, pidl2: *mut ITEMIDLIST, ) -> Result<()>
pub unsafe fn CreateViewObject<'a, T: Interface>( &self, hwndowner: impl IntoParam<'a, HWND>, ) -> Result<T>
pub unsafe fn GetAttributesOf( &self, cidl: u32, apidl: *mut *mut ITEMIDLIST, rgfinout: *mut u32, ) -> Result<()>
pub unsafe fn GetUIObjectOf<'a>( &self, hwndowner: impl IntoParam<'a, HWND>, cidl: u32, apidl: *mut *mut ITEMIDLIST, riid: *const Guid, rgfreserved: *mut u32, ppv: *mut *mut c_void, ) -> Result<()>
pub unsafe fn GetDisplayNameOf( &self, pidl: *mut ITEMIDLIST, uflags: u32, ) -> Result<STRRET>
pub unsafe fn SetNameOf<'a>( &self, hwnd: impl IntoParam<'a, HWND>, pidl: *mut ITEMIDLIST, pszname: impl IntoParam<'a, PWSTR>, uflags: u32, ) -> Result<*mut ITEMIDLIST>
pub unsafe fn GetDefaultSearchGUID(&self) -> Result<Guid>
pub unsafe fn EnumSearches(&self) -> Result<IEnumExtraSearch>
pub unsafe fn GetDefaultColumn( &self, dwres: u32, psort: *mut u32, pdisplay: *mut u32, ) -> Result<()>
pub unsafe fn GetDefaultColumnState(&self, icolumn: u32) -> Result<u32>
pub unsafe fn GetDetailsEx( &self, pidl: *mut ITEMIDLIST, pscid: *const PROPERTYKEY, ) -> Result<VARIANT>
pub unsafe fn GetDetailsOf( &self, pidl: *mut ITEMIDLIST, icolumn: u32, ) -> Result<SHELLDETAILS>
pub unsafe fn MapColumnToSCID(&self, icolumn: u32) -> Result<PROPERTYKEY>
Trait Implementations§
Source§impl Clone for IShellFolder2
impl Clone for IShellFolder2
Source§fn clone(&self) -> IShellFolder2
fn clone(&self) -> IShellFolder2
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 IShellFolder2
impl Debug for IShellFolder2
Source§impl From<&IShellFolder2> for IShellFolder
impl From<&IShellFolder2> for IShellFolder
Source§fn from(value: &IShellFolder2) -> Self
fn from(value: &IShellFolder2) -> Self
Converts to this type from the input type.
Source§impl From<&IShellFolder2> for IUnknown
impl From<&IShellFolder2> for IUnknown
Source§fn from(value: &IShellFolder2) -> Self
fn from(value: &IShellFolder2) -> Self
Converts to this type from the input type.
Source§impl From<IShellFolder2> for IShellFolder
impl From<IShellFolder2> for IShellFolder
Source§fn from(value: IShellFolder2) -> Self
fn from(value: IShellFolder2) -> Self
Converts to this type from the input type.
Source§impl From<IShellFolder2> for IUnknown
impl From<IShellFolder2> for IUnknown
Source§fn from(value: IShellFolder2) -> Self
fn from(value: IShellFolder2) -> Self
Converts to this type from the input type.
Source§impl Interface for IShellFolder2
impl Interface for IShellFolder2
const IID: Guid
type Vtable = IShellFolder2_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 IShellFolder2
impl PartialEq for IShellFolder2
impl Eq for IShellFolder2
impl StructuralPartialEq for IShellFolder2
Auto Trait Implementations§
impl Freeze for IShellFolder2
impl RefUnwindSafe for IShellFolder2
impl !Send for IShellFolder2
impl !Sync for IShellFolder2
impl Unpin for IShellFolder2
impl UnwindSafe for IShellFolder2
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