Trait IImageList2_Impl
pub trait IImageList2_Impl: IImageList_Impl {
// Required methods
fn Resize(&self, cxnewiconsize: i32, cynewiconsize: i32) -> Result<()>;
fn GetOriginalSize(
&self,
iimage: i32,
dwflags: u32,
pcx: *mut i32,
pcy: *mut i32,
) -> Result<()>;
fn SetOriginalSize(&self, iimage: i32, cx: i32, cy: i32) -> Result<()>;
fn SetCallback(&self, punk: Ref<'_, IUnknown>) -> Result<()>;
fn GetCallback(
&self,
riid: *const GUID,
ppv: *mut *mut c_void,
) -> Result<()>;
fn ForceImagePresent(&self, iimage: i32, dwflags: u32) -> Result<()>;
fn DiscardImages(
&self,
ifirstimage: i32,
ilastimage: i32,
dwflags: u32,
) -> Result<()>;
fn PreloadImages(&self, pimldp: *const IMAGELISTDRAWPARAMS) -> Result<()>;
fn GetStatistics(&self, pils: *mut IMAGELISTSTATS) -> Result<()>;
fn Initialize(
&self,
cx: i32,
cy: i32,
flags: IMAGELIST_CREATION_FLAGS,
cinitial: i32,
cgrow: i32,
) -> Result<()>;
fn Replace2(
&self,
i: i32,
hbmimage: HBITMAP,
hbmmask: HBITMAP,
punk: Ref<'_, IUnknown>,
dwflags: u32,
) -> Result<()>;
fn ReplaceFromImageList(
&self,
i: i32,
pil: Ref<'_, IImageList>,
isrc: i32,
punk: Ref<'_, IUnknown>,
dwflags: u32,
) -> Result<()>;
}
Required Methods§
fn Resize(&self, cxnewiconsize: i32, cynewiconsize: i32) -> Result<()>
fn GetOriginalSize( &self, iimage: i32, dwflags: u32, pcx: *mut i32, pcy: *mut i32, ) -> Result<()>
fn SetOriginalSize(&self, iimage: i32, cx: i32, cy: i32) -> Result<()>
fn SetCallback(&self, punk: Ref<'_, IUnknown>) -> Result<()>
fn GetCallback(&self, riid: *const GUID, ppv: *mut *mut c_void) -> Result<()>
fn ForceImagePresent(&self, iimage: i32, dwflags: u32) -> Result<()>
fn DiscardImages( &self, ifirstimage: i32, ilastimage: i32, dwflags: u32, ) -> Result<()>
fn PreloadImages(&self, pimldp: *const IMAGELISTDRAWPARAMS) -> Result<()>
fn GetStatistics(&self, pils: *mut IMAGELISTSTATS) -> Result<()>
fn Initialize( &self, cx: i32, cy: i32, flags: IMAGELIST_CREATION_FLAGS, cinitial: i32, cgrow: i32, ) -> Result<()>
fn Replace2( &self, i: i32, hbmimage: HBITMAP, hbmmask: HBITMAP, punk: Ref<'_, IUnknown>, dwflags: u32, ) -> Result<()>
fn ReplaceFromImageList( &self, i: i32, pil: Ref<'_, IImageList>, isrc: i32, punk: Ref<'_, IUnknown>, dwflags: u32, ) -> 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.