pub trait IKnownFolder_Impl: Sized {
    // Required methods
    fn GetId(&self) -> Result<GUID>;
    fn GetCategory(&self) -> Result<KF_CATEGORY>;
    fn GetShellItem(
        &self,
        dwflags: u32,
        riid: *const GUID,
        ppv: *mut *mut c_void
    ) -> Result<()>;
    fn GetPath(&self, dwflags: u32) -> Result<PWSTR>;
    fn SetPath(&self, dwflags: u32, pszpath: &PCWSTR) -> Result<()>;
    fn GetIDList(&self, dwflags: u32) -> Result<*mut ITEMIDLIST>;
    fn GetFolderType(&self) -> Result<GUID>;
    fn GetRedirectionCapabilities(&self) -> Result<u32>;
    fn GetFolderDefinition(
        &self,
        pkfd: *mut KNOWNFOLDER_DEFINITION
    ) -> Result<()>;
}

Required Methods§

fn GetId(&self) -> Result<GUID>

fn GetCategory(&self) -> Result<KF_CATEGORY>

fn GetShellItem( &self, dwflags: u32, riid: *const GUID, ppv: *mut *mut c_void ) -> Result<()>

fn GetPath(&self, dwflags: u32) -> Result<PWSTR>

fn SetPath(&self, dwflags: u32, pszpath: &PCWSTR) -> Result<()>

fn GetIDList(&self, dwflags: u32) -> Result<*mut ITEMIDLIST>

fn GetFolderType(&self) -> Result<GUID>

fn GetRedirectionCapabilities(&self) -> Result<u32>

fn GetFolderDefinition(&self, pkfd: *mut KNOWNFOLDER_DEFINITION) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§