Struct IImageList

Source
#[repr(C)]
pub struct IImageList { pub lpVtbl: *const IImageListVtbl, }

Fields§

§lpVtbl: *const IImageListVtbl

Implementations§

Source§

impl IImageList

Source

pub unsafe fn Add( &self, hbmImage: HBITMAP, hbmMask: HBITMAP, pi: *mut c_int, ) -> HRESULT

Source

pub unsafe fn ReplaceIcon(&self, hicon: HICON, pi: *mut c_int) -> HRESULT

Source

pub unsafe fn SetOverlayImage(&self, iImage: c_int, iOverlay: c_int) -> HRESULT

Source

pub unsafe fn Replace(&self, hbmImage: HBITMAP, hbmMask: HBITMAP) -> HRESULT

Source

pub unsafe fn AddMasked( &self, hbmImage: HBITMAP, crMask: COLORREF, pi: *mut c_int, ) -> HRESULT

Source

pub unsafe fn Draw(&self, pimldp: *mut IMAGELISTDRAWPARAMS) -> HRESULT

Source

pub unsafe fn Remove(&self, i: c_int) -> HRESULT

Source

pub unsafe fn GetIcon( &self, i: c_int, flags: UINT, picon: *mut HICON, ) -> HRESULT

Source

pub unsafe fn GetImageInfo( &self, i: c_int, pImageInfo: *mut IMAGEINFO, ) -> HRESULT

Source

pub unsafe fn Copy( &self, iDst: c_int, punkSrc: *mut IUnknown, iSrc: c_int, uFlags: UINT, ) -> HRESULT

Source

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

Source

pub unsafe fn Clone(&self, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT

Source

pub unsafe fn GetImageRect(&self, i: c_int, prc: *mut RECT) -> HRESULT

Source

pub unsafe fn GetIconSize(&self, cx: *mut c_int, cy: *mut c_int) -> HRESULT

Source

pub unsafe fn SetIconSize(&self, cx: c_int, cy: c_int) -> HRESULT

Source

pub unsafe fn GetImageCount(&self, pi: *mut c_int) -> HRESULT

Source

pub unsafe fn SetImageCount(&self, uNewCount: UINT) -> HRESULT

Source

pub unsafe fn SetBkColor(&self, clrBk: COLORREF, pclr: *mut COLORREF) -> HRESULT

Source

pub unsafe fn GetBkColor(&self, pclr: *mut COLORREF) -> HRESULT

Source

pub unsafe fn BeginDrag( &self, iTrack: c_int, dxHotspot: c_int, dyHotspot: c_int, ) -> HRESULT

Source

pub unsafe fn EndDrag(&self) -> HRESULT

Source

pub unsafe fn DragEnter(&self, hwndLock: HWND, x: c_int, y: c_int) -> HRESULT

Source

pub unsafe fn DragLeave(&self, hwndLock: HWND) -> HRESULT

Source

pub unsafe fn DragMove(&self, x: c_int, y: c_int) -> HRESULT

Source

pub unsafe fn SetDragCursorImage( &self, punk: *mut IUnknown, iDrag: c_int, dxHotspot: c_int, dyHotspot: c_int, ) -> HRESULT

Source

pub unsafe fn DragShowNolock(&self, fShow: BOOL) -> HRESULT

Source

pub unsafe fn GetDragImage( &self, ppt: *mut POINT, pptHotspot: *mut POINT, riid: REFIID, ppv: *mut *mut c_void, ) -> HRESULT

Source

pub unsafe fn GetItemFlags(&self, dwFlags: *mut DWORD) -> HRESULT

Source

pub unsafe fn GetOverlayImage( &self, iOverlay: c_int, piIndex: *mut c_int, ) -> HRESULT

Methods from Deref<Target = IUnknown>§

Source

pub unsafe fn QueryInterface( &self, riid: REFIID, ppvObject: *mut *mut c_void, ) -> HRESULT

Source

pub unsafe fn AddRef(&self) -> ULONG

Source

pub unsafe fn Release(&self) -> ULONG

Trait Implementations§

Source§

impl Deref for IImageList

Source§

type Target = IUnknown

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IUnknown

Dereferences the value.
Source§

impl Interface for IImageList

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.