[][src]Struct winapi::um::commoncontrols::IImageList2

#[repr(C)]pub struct IImageList2 {
    pub lpVtbl: *const IImageList2Vtbl,
}

Fields

lpVtbl: *const IImageList2Vtbl

Implementations

impl IImageList2[src]

pub unsafe fn Resize(
    &self,
    cxNewIconSize: c_int,
    cyNewIconSize: c_int
) -> HRESULT
[src]

pub unsafe fn GetOriginalSize(
    &self,
    iImage: c_int,
    dwFlags: DWORD,
    pcx: *mut c_int,
    pcy: *mut c_int
) -> HRESULT
[src]

pub unsafe fn SetOriginalSize(
    &self,
    iImage: c_int,
    cx: c_int,
    cy: c_int
) -> HRESULT
[src]

pub unsafe fn SetCallback(&self, punk: *mut IUnknown) -> HRESULT[src]

pub unsafe fn GetCallback(&self, riid: REFIID, ppv: *mut *mut c_void) -> HRESULT[src]

pub unsafe fn ForceImagePresent(&self, iImage: c_int, dwFlags: DWORD) -> HRESULT[src]

pub unsafe fn DiscardImages(
    &self,
    iFirstImage: c_int,
    iLastImage: c_int,
    dwFlags: DWORD
) -> HRESULT
[src]

pub unsafe fn PreloadImages(&self, pimldp: *mut IMAGELISTDRAWPARAMS) -> HRESULT[src]

pub unsafe fn GetStatistics(&self, pils: *mut IMAGELISTSTATS) -> HRESULT[src]

pub unsafe fn Initialize(
    &self,
    cx: c_int,
    cy: c_int,
    flags: UINT,
    cInitial: c_int,
    cGrow: c_int
) -> HRESULT
[src]

pub unsafe fn Replace2(
    &self,
    i: c_int,
    hbmImage: HBITMAP,
    hbmMask: HBITMAP,
    punk: *mut IUnknown,
    dwFlags: DWORD
) -> HRESULT
[src]

pub unsafe fn ReplaceFromImageList(
    &self,
    i: c_int,
    pil: *mut IImageList,
    iSrc: c_int,
    punk: *mut IUnknown,
    dwFlags: DWORD
) -> HRESULT
[src]

Methods from Deref<Target = IImageList>

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

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

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

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

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

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

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

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

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

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

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
[src]

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

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

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

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

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

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

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

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

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

pub unsafe fn EndDrag(&self) -> HRESULT[src]

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

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

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

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

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

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

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

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

Trait Implementations

impl Deref for IImageList2[src]

type Target = IImageList

The resulting type after dereferencing.

impl Interface for IImageList2[src]

Auto Trait Implementations

impl !Send for IImageList2

impl !Sync for IImageList2

impl Unpin for IImageList2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.