pub trait IShellFolder_Impl: Sized {
    // Required methods
    fn ParseDisplayName(
        &self,
        hwnd: HWND,
        pbc: Option<&IBindCtx>,
        pszdisplayname: &PCWSTR,
        pcheaten: *const u32,
        ppidl: *mut *mut ITEMIDLIST,
        pdwattributes: *mut u32
    ) -> Result<()>;
    fn EnumObjects(
        &self,
        hwnd: HWND,
        grfflags: u32,
        ppenumidlist: *mut Option<IEnumIDList>
    ) -> HRESULT;
    fn BindToObject(
        &self,
        pidl: *const ITEMIDLIST,
        pbc: Option<&IBindCtx>,
        riid: *const GUID,
        ppv: *mut *mut c_void
    ) -> Result<()>;
    fn BindToStorage(
        &self,
        pidl: *const ITEMIDLIST,
        pbc: Option<&IBindCtx>,
        riid: *const GUID,
        ppv: *mut *mut c_void
    ) -> Result<()>;
    fn CompareIDs(
        &self,
        lparam: LPARAM,
        pidl1: *const ITEMIDLIST,
        pidl2: *const ITEMIDLIST
    ) -> Result<()>;
    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: Option<&IBindCtx>, pszdisplayname: &PCWSTR, pcheaten: *const u32, ppidl: *mut *mut ITEMIDLIST, pdwattributes: *mut u32 ) -> Result<()>

fn EnumObjects( &self, hwnd: HWND, grfflags: u32, ppenumidlist: *mut Option<IEnumIDList> ) -> HRESULT

fn BindToObject( &self, pidl: *const ITEMIDLIST, pbc: Option<&IBindCtx>, riid: *const GUID, ppv: *mut *mut c_void ) -> Result<()>

fn BindToStorage( &self, pidl: *const ITEMIDLIST, pbc: Option<&IBindCtx>, riid: *const GUID, ppv: *mut *mut c_void ) -> Result<()>

fn CompareIDs( &self, lparam: LPARAM, pidl1: *const ITEMIDLIST, pidl2: *const ITEMIDLIST ) -> Result<()>

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<()>

Object Safety§

This trait is not object safe.

Implementors§