Trait IShellFolder_Impl
pub trait IShellFolder_Impl: IUnknownImpl {
// Required methods
fn ParseDisplayName(
&self,
hwnd: HWND,
pbc: Ref<'_, IBindCtx>,
pszdisplayname: &PCWSTR,
pcheaten: *const u32,
ppidl: *mut *mut ITEMIDLIST,
pdwattributes: *mut u32,
) -> Result<()>;
fn EnumObjects(
&self,
hwnd: HWND,
grfflags: u32,
ppenumidlist: OutRef<'_, IEnumIDList>,
) -> HRESULT;
fn BindToObject(
&self,
pidl: *const ITEMIDLIST,
pbc: Ref<'_, IBindCtx>,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn BindToStorage(
&self,
pidl: *const ITEMIDLIST,
pbc: Ref<'_, IBindCtx>,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn CompareIDs(
&self,
lparam: LPARAM,
pidl1: *const ITEMIDLIST,
pidl2: *const ITEMIDLIST,
) -> HRESULT;
fn CreateViewObject(
&self,
hwndowner: HWND,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn GetAttributesOf(
&self,
cidl: u32,
apidl: *const *const ITEMIDLIST,
rgfinout: *mut u32,
) -> Result<()>;
fn GetUIObjectOf(
&self,
hwndowner: HWND,
cidl: u32,
apidl: *const *const ITEMIDLIST,
riid: *const GUID,
rgfreserved: *const u32,
ppv: *mut *mut c_void,
) -> Result<()>;
fn GetDisplayNameOf(
&self,
pidl: *const ITEMIDLIST,
uflags: SHGDNF,
pname: *mut STRRET,
) -> Result<()>;
fn SetNameOf(
&self,
hwnd: HWND,
pidl: *const ITEMIDLIST,
pszname: &PCWSTR,
uflags: SHGDNF,
ppidlout: *mut *mut ITEMIDLIST,
) -> Result<()>;
}
Required Methods§
fn ParseDisplayName( &self, hwnd: HWND, pbc: Ref<'_, IBindCtx>, pszdisplayname: &PCWSTR, pcheaten: *const u32, ppidl: *mut *mut ITEMIDLIST, pdwattributes: *mut u32, ) -> Result<()>
fn EnumObjects( &self, hwnd: HWND, grfflags: u32, ppenumidlist: OutRef<'_, IEnumIDList>, ) -> HRESULT
fn BindToObject( &self, pidl: *const ITEMIDLIST, pbc: Ref<'_, IBindCtx>, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn BindToStorage( &self, pidl: *const ITEMIDLIST, pbc: Ref<'_, IBindCtx>, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn CompareIDs( &self, lparam: LPARAM, pidl1: *const ITEMIDLIST, pidl2: *const ITEMIDLIST, ) -> HRESULT
fn CreateViewObject( &self, hwndowner: HWND, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn GetAttributesOf( &self, cidl: u32, apidl: *const *const ITEMIDLIST, rgfinout: *mut u32, ) -> Result<()>
fn GetUIObjectOf( &self, hwndowner: HWND, cidl: u32, apidl: *const *const ITEMIDLIST, riid: *const GUID, rgfreserved: *const u32, ppv: *mut *mut c_void, ) -> Result<()>
fn GetDisplayNameOf( &self, pidl: *const ITEMIDLIST, uflags: SHGDNF, pname: *mut STRRET, ) -> Result<()>
fn SetNameOf( &self, hwnd: HWND, pidl: *const ITEMIDLIST, pszname: &PCWSTR, uflags: SHGDNF, ppidlout: *mut *mut ITEMIDLIST, ) -> 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.