Trait IKnownFolder_Impl
pub trait IKnownFolder_Impl: IUnknownImpl {
// 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<()>
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.