Struct IImageListVtbl

Source
#[repr(C)]
pub struct IImageListVtbl {
Show 30 fields pub parent: IUnknownVtbl, pub Add: unsafe extern "system" fn(This: *mut IImageList, hbmImage: HBITMAP, hbmMask: HBITMAP, pi: *mut c_int) -> HRESULT, pub ReplaceIcon: unsafe extern "system" fn(This: *mut IImageList, hicon: HICON, pi: *mut c_int) -> HRESULT, pub SetOverlayImage: unsafe extern "system" fn(This: *mut IImageList, iImage: c_int, iOverlay: c_int) -> HRESULT, pub Replace: unsafe extern "system" fn(This: *mut IImageList, hbmImage: HBITMAP, hbmMask: HBITMAP) -> HRESULT, pub AddMasked: unsafe extern "system" fn(This: *mut IImageList, hbmImage: HBITMAP, crMask: COLORREF, pi: *mut c_int) -> HRESULT, pub Draw: unsafe extern "system" fn(This: *mut IImageList, pimldp: *mut IMAGELISTDRAWPARAMS) -> HRESULT, pub Remove: unsafe extern "system" fn(This: *mut IImageList, i: c_int) -> HRESULT, pub GetIcon: unsafe extern "system" fn(This: *mut IImageList, i: c_int, flags: UINT, picon: *mut HICON) -> HRESULT, pub GetImageInfo: unsafe extern "system" fn(This: *mut IImageList, i: c_int, pImageInfo: *mut IMAGEINFO) -> HRESULT, pub Copy: unsafe extern "system" fn(This: *mut IImageList, iDst: c_int, punkSrc: *mut IUnknown, iSrc: c_int, uFlags: UINT) -> HRESULT, pub Merge: unsafe extern "system" fn(This: *mut IImageList, i1: c_int, punk2: *mut IUnknown, i2: c_int, dx: c_int, dy: c_int, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT, pub Clone: unsafe extern "system" fn(This: *mut IImageList, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT, pub GetImageRect: unsafe extern "system" fn(This: *mut IImageList, i: c_int, prc: *mut RECT) -> HRESULT, pub GetIconSize: unsafe extern "system" fn(This: *mut IImageList, cx: *mut c_int, cy: *mut c_int) -> HRESULT, pub SetIconSize: unsafe extern "system" fn(This: *mut IImageList, cx: c_int, cy: c_int) -> HRESULT, pub GetImageCount: unsafe extern "system" fn(This: *mut IImageList, pi: *mut c_int) -> HRESULT, pub SetImageCount: unsafe extern "system" fn(This: *mut IImageList, uNewCount: UINT) -> HRESULT, pub SetBkColor: unsafe extern "system" fn(This: *mut IImageList, clrBk: COLORREF, pclr: *mut COLORREF) -> HRESULT, pub GetBkColor: unsafe extern "system" fn(This: *mut IImageList, pclr: *mut COLORREF) -> HRESULT, pub BeginDrag: unsafe extern "system" fn(This: *mut IImageList, iTrack: c_int, dxHotspot: c_int, dyHotspot: c_int) -> HRESULT, pub EndDrag: unsafe extern "system" fn(This: *mut IImageList) -> HRESULT, pub DragEnter: unsafe extern "system" fn(This: *mut IImageList, hwndLock: HWND, x: c_int, y: c_int) -> HRESULT, pub DragLeave: unsafe extern "system" fn(This: *mut IImageList, hwndLock: HWND) -> HRESULT, pub DragMove: unsafe extern "system" fn(This: *mut IImageList, x: c_int, y: c_int) -> HRESULT, pub SetDragCursorImage: unsafe extern "system" fn(This: *mut IImageList, punk: *mut IUnknown, iDrag: c_int, dxHotspot: c_int, dyHotspot: c_int) -> HRESULT, pub DragShowNolock: unsafe extern "system" fn(This: *mut IImageList, fShow: BOOL) -> HRESULT, pub GetDragImage: unsafe extern "system" fn(This: *mut IImageList, ppt: *mut POINT, pptHotspot: *mut POINT, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT, pub GetItemFlags: unsafe extern "system" fn(This: *mut IImageList, dwFlags: *mut DWORD) -> HRESULT, pub GetOverlayImage: unsafe extern "system" fn(This: *mut IImageList, iOverlay: c_int, piIndex: *mut c_int) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§Add: unsafe extern "system" fn(This: *mut IImageList, hbmImage: HBITMAP, hbmMask: HBITMAP, pi: *mut c_int) -> HRESULT§ReplaceIcon: unsafe extern "system" fn(This: *mut IImageList, hicon: HICON, pi: *mut c_int) -> HRESULT§SetOverlayImage: unsafe extern "system" fn(This: *mut IImageList, iImage: c_int, iOverlay: c_int) -> HRESULT§Replace: unsafe extern "system" fn(This: *mut IImageList, hbmImage: HBITMAP, hbmMask: HBITMAP) -> HRESULT§AddMasked: unsafe extern "system" fn(This: *mut IImageList, hbmImage: HBITMAP, crMask: COLORREF, pi: *mut c_int) -> HRESULT§Draw: unsafe extern "system" fn(This: *mut IImageList, pimldp: *mut IMAGELISTDRAWPARAMS) -> HRESULT§Remove: unsafe extern "system" fn(This: *mut IImageList, i: c_int) -> HRESULT§GetIcon: unsafe extern "system" fn(This: *mut IImageList, i: c_int, flags: UINT, picon: *mut HICON) -> HRESULT§GetImageInfo: unsafe extern "system" fn(This: *mut IImageList, i: c_int, pImageInfo: *mut IMAGEINFO) -> HRESULT§Copy: unsafe extern "system" fn(This: *mut IImageList, iDst: c_int, punkSrc: *mut IUnknown, iSrc: c_int, uFlags: UINT) -> HRESULT§Merge: unsafe extern "system" fn(This: *mut IImageList, i1: c_int, punk2: *mut IUnknown, i2: c_int, dx: c_int, dy: c_int, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT§Clone: unsafe extern "system" fn(This: *mut IImageList, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT§GetImageRect: unsafe extern "system" fn(This: *mut IImageList, i: c_int, prc: *mut RECT) -> HRESULT§GetIconSize: unsafe extern "system" fn(This: *mut IImageList, cx: *mut c_int, cy: *mut c_int) -> HRESULT§SetIconSize: unsafe extern "system" fn(This: *mut IImageList, cx: c_int, cy: c_int) -> HRESULT§GetImageCount: unsafe extern "system" fn(This: *mut IImageList, pi: *mut c_int) -> HRESULT§SetImageCount: unsafe extern "system" fn(This: *mut IImageList, uNewCount: UINT) -> HRESULT§SetBkColor: unsafe extern "system" fn(This: *mut IImageList, clrBk: COLORREF, pclr: *mut COLORREF) -> HRESULT§GetBkColor: unsafe extern "system" fn(This: *mut IImageList, pclr: *mut COLORREF) -> HRESULT§BeginDrag: unsafe extern "system" fn(This: *mut IImageList, iTrack: c_int, dxHotspot: c_int, dyHotspot: c_int) -> HRESULT§EndDrag: unsafe extern "system" fn(This: *mut IImageList) -> HRESULT§DragEnter: unsafe extern "system" fn(This: *mut IImageList, hwndLock: HWND, x: c_int, y: c_int) -> HRESULT§DragLeave: unsafe extern "system" fn(This: *mut IImageList, hwndLock: HWND) -> HRESULT§DragMove: unsafe extern "system" fn(This: *mut IImageList, x: c_int, y: c_int) -> HRESULT§SetDragCursorImage: unsafe extern "system" fn(This: *mut IImageList, punk: *mut IUnknown, iDrag: c_int, dxHotspot: c_int, dyHotspot: c_int) -> HRESULT§DragShowNolock: unsafe extern "system" fn(This: *mut IImageList, fShow: BOOL) -> HRESULT§GetDragImage: unsafe extern "system" fn(This: *mut IImageList, ppt: *mut POINT, pptHotspot: *mut POINT, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT§GetItemFlags: unsafe extern "system" fn(This: *mut IImageList, dwFlags: *mut DWORD) -> HRESULT§GetOverlayImage: unsafe extern "system" fn(This: *mut IImageList, iOverlay: c_int, piIndex: *mut c_int) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.