pub struct IShellFolder(/* private fields */);
Implementations§
Source§impl IShellFolder
impl IShellFolder
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>
Trait Implementations§
Source§impl Clone for IShellFolder
impl Clone for IShellFolder
Source§fn clone(&self) -> IShellFolder
fn clone(&self) -> IShellFolder
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 IShellFolder
impl Debug for IShellFolder
Source§impl From<&IShellFolder> for IUnknown
impl From<&IShellFolder> for IUnknown
Source§fn from(value: &IShellFolder) -> Self
fn from(value: &IShellFolder) -> 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<IShellFolder> for IUnknown
impl From<IShellFolder> for IUnknown
Source§fn from(value: IShellFolder) -> Self
fn from(value: IShellFolder) -> 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 Interface for IShellFolder
impl Interface for IShellFolder
const IID: Guid
type Vtable = IShellFolder_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 IShellFolder
impl PartialEq for IShellFolder
impl Eq for IShellFolder
impl StructuralPartialEq for IShellFolder
Auto Trait Implementations§
impl Freeze for IShellFolder
impl RefUnwindSafe for IShellFolder
impl !Send for IShellFolder
impl !Sync for IShellFolder
impl Unpin for IShellFolder
impl UnwindSafe for IShellFolder
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