[−][src]Struct winapi::um::wincodec::IWICPalette
Fields
lpVtbl: *const IWICPaletteVtbl
Methods
impl IWICPalette
[src]
pub unsafe fn InitializePredefined(
&self,
ePaletteType: WICBitmapPaletteType,
fAddTransparentColor: BOOL
) -> HRESULT
[src]
&self,
ePaletteType: WICBitmapPaletteType,
fAddTransparentColor: BOOL
) -> HRESULT
pub unsafe fn InitializeCustom(
&self,
pColors: *const WICColor,
cCount: UINT
) -> HRESULT
[src]
&self,
pColors: *const WICColor,
cCount: UINT
) -> HRESULT
pub unsafe fn InitializeFromBitmap(
&self,
pISurface: *const IWICBitmapSource,
cCount: UINT,
fAddTransparentColor: BOOL
) -> HRESULT
[src]
&self,
pISurface: *const IWICBitmapSource,
cCount: UINT,
fAddTransparentColor: BOOL
) -> HRESULT
pub unsafe fn InitializeFromPalette(
&self,
pIPalette: *const IWICPalette
) -> HRESULT
[src]
&self,
pIPalette: *const IWICPalette
) -> HRESULT
pub unsafe fn GetType(
&self,
pePaletteType: *mut WICBitmapPaletteType
) -> HRESULT
[src]
&self,
pePaletteType: *mut WICBitmapPaletteType
) -> HRESULT
pub unsafe fn GetColorCount(&self, pcCount: *mut UINT) -> HRESULT
[src]
pub unsafe fn GetColors(
&self,
cCount: UINT,
pColors: *mut WICColor,
pcActualColors: *mut UINT
) -> HRESULT
[src]
&self,
cCount: UINT,
pColors: *mut WICColor,
pcActualColors: *mut UINT
) -> HRESULT
pub unsafe fn IsBlackWhite(&self, pfIsBlackWhite: *mut BOOL) -> HRESULT
[src]
pub unsafe fn IsGrayscale(&self, pfIsGrayscale: *mut BOOL) -> HRESULT
[src]
pub unsafe fn HasAlpha(&self, pfHasAlpha: *mut BOOL) -> HRESULT
[src]
Methods from Deref<Target = IUnknown>
pub unsafe fn QueryInterface(
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
[src]
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
pub unsafe fn AddRef(&self) -> ULONG
[src]
pub unsafe fn Release(&self) -> ULONG
[src]
Trait Implementations
impl Interface for IWICPalette
[src]
impl Deref for IWICPalette
[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,