[][src]Struct winapi::um::wincodec::IWICPalette

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

Fields

lpVtbl: *const IWICPaletteVtbl

Methods

impl IWICPalette[src]

pub unsafe fn InitializePredefined(
    &self,
    ePaletteType: WICBitmapPaletteType,
    fAddTransparentColor: BOOL
) -> HRESULT
[src]

pub unsafe fn InitializeCustom(
    &self,
    pColors: *const WICColor,
    cCount: UINT
) -> HRESULT
[src]

pub unsafe fn InitializeFromBitmap(
    &self,
    pISurface: *const IWICBitmapSource,
    cCount: UINT,
    fAddTransparentColor: BOOL
) -> HRESULT
[src]

pub unsafe fn InitializeFromPalette(
    &self,
    pIPalette: *const IWICPalette
) -> HRESULT
[src]

pub unsafe fn GetType(
    &self,
    pePaletteType: *mut WICBitmapPaletteType
) -> HRESULT
[src]

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]

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]

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]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

impl !Send for IWICPalette

impl !Sync for IWICPalette

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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