windows::Win32::UI::Shell

Trait IShellImageDataFactory_Impl

pub trait IShellImageDataFactory_Impl: IUnknownImpl {
    // Required methods
    fn CreateIShellImageData(&self) -> Result<IShellImageData>;
    fn CreateImageFromFile(&self, pszpath: &PCWSTR) -> Result<IShellImageData>;
    fn CreateImageFromStream(
        &self,
        pstream: Ref<'_, IStream>,
    ) -> Result<IShellImageData>;
    fn GetDataFormatFromPath(&self, pszpath: &PCWSTR) -> Result<GUID>;
}

Required Methods§

fn CreateIShellImageData(&self) -> Result<IShellImageData>

fn CreateImageFromFile(&self, pszpath: &PCWSTR) -> Result<IShellImageData>

fn CreateImageFromStream( &self, pstream: Ref<'_, IStream>, ) -> Result<IShellImageData>

fn GetDataFormatFromPath(&self, pszpath: &PCWSTR) -> Result<GUID>

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.

Implementors§