Trait windows::Win32::UI::Shell::IShellLibrary_Impl
pub trait IShellLibrary_Impl: Sized {
Show 17 methods
// Required methods
fn LoadLibraryFromItem(
&self,
psilibrary: Option<&IShellItem>,
grfmode: u32,
) -> Result<()>;
fn LoadLibraryFromKnownFolder(
&self,
kfidlibrary: *const GUID,
grfmode: u32,
) -> Result<()>;
fn AddFolder(&self, psilocation: Option<&IShellItem>) -> Result<()>;
fn RemoveFolder(&self, psilocation: Option<&IShellItem>) -> Result<()>;
fn GetFolders(
&self,
lff: LIBRARYFOLDERFILTER,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn ResolveFolder(
&self,
psifoldertoresolve: Option<&IShellItem>,
dwtimeout: u32,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn GetDefaultSaveFolder(
&self,
dsft: DEFAULTSAVEFOLDERTYPE,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn SetDefaultSaveFolder(
&self,
dsft: DEFAULTSAVEFOLDERTYPE,
psi: Option<&IShellItem>,
) -> Result<()>;
fn GetOptions(&self) -> Result<LIBRARYOPTIONFLAGS>;
fn SetOptions(
&self,
lofmask: LIBRARYOPTIONFLAGS,
lofoptions: LIBRARYOPTIONFLAGS,
) -> Result<()>;
fn GetFolderType(&self) -> Result<GUID>;
fn SetFolderType(&self, ftid: *const GUID) -> Result<()>;
fn GetIcon(&self) -> Result<PWSTR>;
fn SetIcon(&self, pszicon: &PCWSTR) -> Result<()>;
fn Commit(&self) -> Result<()>;
fn Save(
&self,
psifoldertosavein: Option<&IShellItem>,
pszlibraryname: &PCWSTR,
lsf: LIBRARYSAVEFLAGS,
) -> Result<IShellItem>;
fn SaveInKnownFolder(
&self,
kfidtosavein: *const GUID,
pszlibraryname: &PCWSTR,
lsf: LIBRARYSAVEFLAGS,
) -> Result<IShellItem>;
}
Required Methods§
fn LoadLibraryFromItem( &self, psilibrary: Option<&IShellItem>, grfmode: u32, ) -> Result<()>
fn LoadLibraryFromKnownFolder( &self, kfidlibrary: *const GUID, grfmode: u32, ) -> Result<()>
fn AddFolder(&self, psilocation: Option<&IShellItem>) -> Result<()>
fn RemoveFolder(&self, psilocation: Option<&IShellItem>) -> Result<()>
fn GetFolders( &self, lff: LIBRARYFOLDERFILTER, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn ResolveFolder( &self, psifoldertoresolve: Option<&IShellItem>, dwtimeout: u32, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn GetDefaultSaveFolder( &self, dsft: DEFAULTSAVEFOLDERTYPE, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>
fn SetDefaultSaveFolder( &self, dsft: DEFAULTSAVEFOLDERTYPE, psi: Option<&IShellItem>, ) -> Result<()>
fn GetOptions(&self) -> Result<LIBRARYOPTIONFLAGS>
fn SetOptions( &self, lofmask: LIBRARYOPTIONFLAGS, lofoptions: LIBRARYOPTIONFLAGS, ) -> Result<()>
fn GetFolderType(&self) -> Result<GUID>
fn SetFolderType(&self, ftid: *const GUID) -> Result<()>
fn GetIcon(&self) -> Result<PWSTR>
fn SetIcon(&self, pszicon: &PCWSTR) -> Result<()>
fn Commit(&self) -> Result<()>
fn Save( &self, psifoldertosavein: Option<&IShellItem>, pszlibraryname: &PCWSTR, lsf: LIBRARYSAVEFLAGS, ) -> Result<IShellItem>
fn SaveInKnownFolder( &self, kfidtosavein: *const GUID, pszlibraryname: &PCWSTR, lsf: LIBRARYSAVEFLAGS, ) -> Result<IShellItem>
Object Safety§
This trait is not object safe.