#[repr(C)]pub struct IImageList2 {
pub lpVtbl: *const IImageList2Vtbl,
}
Fields§
§lpVtbl: *const IImageList2Vtbl
Implementations§
Source§impl IImageList2
impl IImageList2
pub unsafe fn Resize( &self, cxNewIconSize: c_int, cyNewIconSize: c_int, ) -> HRESULT
pub unsafe fn GetOriginalSize( &self, iImage: c_int, dwFlags: DWORD, pcx: *mut c_int, pcy: *mut c_int, ) -> HRESULT
pub unsafe fn SetOriginalSize( &self, iImage: c_int, cx: c_int, cy: c_int, ) -> HRESULT
pub unsafe fn SetCallback(&self, punk: *mut IUnknown) -> HRESULT
pub unsafe fn GetCallback(&self, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT
pub unsafe fn ForceImagePresent(&self, iImage: c_int, dwFlags: DWORD) -> HRESULT
pub unsafe fn DiscardImages( &self, iFirstImage: c_int, iLastImage: c_int, dwFlags: DWORD, ) -> HRESULT
pub unsafe fn PreloadImages(&self, pimldp: *mut IMAGELISTDRAWPARAMS) -> HRESULT
pub unsafe fn GetStatistics(&self, pils: *mut IMAGELISTSTATS) -> HRESULT
pub unsafe fn Initialize( &self, cx: c_int, cy: c_int, flags: UINT, cInitial: c_int, cGrow: c_int, ) -> HRESULT
pub unsafe fn Replace2( &self, i: c_int, hbmImage: HBITMAP, hbmMask: HBITMAP, punk: *mut IUnknown, dwFlags: DWORD, ) -> HRESULT
pub unsafe fn ReplaceFromImageList( &self, i: c_int, pil: *mut IImageList, iSrc: c_int, punk: *mut IUnknown, dwFlags: DWORD, ) -> HRESULT
Methods from Deref<Target = IImageList>§
pub unsafe fn Add( &self, hbmImage: HBITMAP, hbmMask: HBITMAP, pi: *mut c_int, ) -> HRESULT
pub unsafe fn ReplaceIcon(&self, hicon: HICON, pi: *mut c_int) -> HRESULT
pub unsafe fn SetOverlayImage(&self, iImage: c_int, iOverlay: c_int) -> HRESULT
pub unsafe fn Replace(&self, hbmImage: HBITMAP, hbmMask: HBITMAP) -> HRESULT
pub unsafe fn AddMasked( &self, hbmImage: HBITMAP, crMask: COLORREF, pi: *mut c_int, ) -> HRESULT
pub unsafe fn Draw(&self, pimldp: *mut IMAGELISTDRAWPARAMS) -> HRESULT
pub unsafe fn Remove(&self, i: c_int) -> HRESULT
pub unsafe fn GetIcon( &self, i: c_int, flags: UINT, picon: *mut HICON, ) -> HRESULT
pub unsafe fn GetImageInfo( &self, i: c_int, pImageInfo: *mut IMAGEINFO, ) -> HRESULT
pub unsafe fn Copy( &self, iDst: c_int, punkSrc: *mut IUnknown, iSrc: c_int, uFlags: UINT, ) -> HRESULT
pub unsafe fn Merge( &self, i1: c_int, punk2: *mut IUnknown, i2: c_int, dx: c_int, dy: c_int, riid: REFIID, ppv: *mut *mut c_void, ) -> HRESULT
pub unsafe fn Clone(&self, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT
pub unsafe fn GetImageRect(&self, i: c_int, prc: *mut RECT) -> HRESULT
pub unsafe fn GetIconSize(&self, cx: *mut c_int, cy: *mut c_int) -> HRESULT
pub unsafe fn SetIconSize(&self, cx: c_int, cy: c_int) -> HRESULT
pub unsafe fn GetImageCount(&self, pi: *mut c_int) -> HRESULT
pub unsafe fn SetImageCount(&self, uNewCount: UINT) -> HRESULT
pub unsafe fn SetBkColor(&self, clrBk: COLORREF, pclr: *mut COLORREF) -> HRESULT
pub unsafe fn GetBkColor(&self, pclr: *mut COLORREF) -> HRESULT
pub unsafe fn BeginDrag( &self, iTrack: c_int, dxHotspot: c_int, dyHotspot: c_int, ) -> HRESULT
pub unsafe fn EndDrag(&self) -> HRESULT
pub unsafe fn DragEnter(&self, hwndLock: HWND, x: c_int, y: c_int) -> HRESULT
pub unsafe fn DragLeave(&self, hwndLock: HWND) -> HRESULT
pub unsafe fn DragMove(&self, x: c_int, y: c_int) -> HRESULT
pub unsafe fn SetDragCursorImage( &self, punk: *mut IUnknown, iDrag: c_int, dxHotspot: c_int, dyHotspot: c_int, ) -> HRESULT
pub unsafe fn DragShowNolock(&self, fShow: BOOL) -> HRESULT
pub unsafe fn GetDragImage( &self, ppt: *mut POINT, pptHotspot: *mut POINT, riid: REFIID, ppv: *mut *mut c_void, ) -> HRESULT
pub unsafe fn GetItemFlags(&self, dwFlags: *mut DWORD) -> HRESULT
pub unsafe fn GetOverlayImage( &self, iOverlay: c_int, piIndex: *mut c_int, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IImageList2
impl Deref for IImageList2
Source§type Target = IImageList
type Target = IImageList
The resulting type after dereferencing.
Source§fn deref(&self) -> &IImageList
fn deref(&self) -> &IImageList
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IImageList2
impl RefUnwindSafe for IImageList2
impl !Send for IImageList2
impl !Sync for IImageList2
impl Unpin for IImageList2
impl UnwindSafe for IImageList2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more