Trait IImageDecodeEventSink_Impl
pub trait IImageDecodeEventSink_Impl: IUnknownImpl {
// Required methods
fn GetSurface(
&self,
nwidth: i32,
nheight: i32,
bfid: *const GUID,
npasses: u32,
dwhints: u32,
) -> Result<IUnknown>;
fn OnBeginDecode(
&self,
pdwevents: *mut u32,
pnformats: *mut u32,
ppformats: *mut *mut GUID,
) -> Result<()>;
fn OnBitsComplete(&self) -> Result<()>;
fn OnDecodeComplete(&self, hrstatus: HRESULT) -> Result<()>;
fn OnPalette(&self) -> Result<()>;
fn OnProgress(&self, pbounds: *const RECT, bcomplete: BOOL) -> Result<()>;
}
Required Methods§
fn GetSurface( &self, nwidth: i32, nheight: i32, bfid: *const GUID, npasses: u32, dwhints: u32, ) -> Result<IUnknown>
fn OnBeginDecode( &self, pdwevents: *mut u32, pnformats: *mut u32, ppformats: *mut *mut GUID, ) -> Result<()>
fn OnBitsComplete(&self) -> Result<()>
fn OnDecodeComplete(&self, hrstatus: HRESULT) -> Result<()>
fn OnPalette(&self) -> Result<()>
fn OnProgress(&self, pbounds: *const RECT, bcomplete: BOOL) -> 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.