[−][src]Struct winapi::um::commoncontrols::IImageList2
Fields
lpVtbl: *const IImageList2Vtbl
Methods
impl IImageList2
[src]
pub unsafe fn Resize(
&self,
cxNewIconSize: c_int,
cyNewIconSize: c_int
) -> HRESULT
[src]
&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
[src]
&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
[src]
&self,
iImage: c_int,
cx: c_int,
cy: c_int
) -> HRESULT
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]
&self,
iFirstImage: c_int,
iLastImage: c_int,
dwFlags: DWORD
) -> HRESULT
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]
&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
[src]
&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
[src]
&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
[src]
&self,
hbmImage: HBITMAP,
hbmMask: HBITMAP,
pi: *mut c_int
) -> HRESULT
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]
&self,
hbmImage: HBITMAP,
crMask: COLORREF,
pi: *mut c_int
) -> HRESULT
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]
&self,
i: c_int,
flags: UINT,
picon: *mut HICON
) -> HRESULT
pub unsafe fn GetImageInfo(
&self,
i: c_int,
pImageInfo: *mut IMAGEINFO
) -> HRESULT
[src]
&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
[src]
&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
[src]
&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
[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]
&self,
iTrack: c_int,
dxHotspot: c_int,
dyHotspot: c_int
) -> HRESULT
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]
&self,
punk: *mut IUnknown,
iDrag: c_int,
dxHotspot: c_int,
dyHotspot: c_int
) -> HRESULT
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]
&self,
ppt: *mut POINT,
pptHotspot: *mut POINT,
riid: REFIID,
ppv: *mut *mut c_void
) -> HRESULT
pub unsafe fn GetItemFlags(&self, dwFlags: *mut DWORD) -> HRESULT
[src]
pub unsafe fn GetOverlayImage(
&self,
iOverlay: c_int,
piIndex: *mut c_int
) -> HRESULT
[src]
&self,
iOverlay: c_int,
piIndex: *mut c_int
) -> HRESULT
Trait Implementations
impl Interface for IImageList2
[src]
impl Deref for IImageList2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,