ReactOS  0.4.14-dev-98-gb0d4763
IWICPalette Interface Reference

import"wincodec.idl";

Inheritance diagram for IWICPalette:
Collaboration diagram for IWICPalette:

Public Member Functions

HRESULT InitializePredefined ([in] WICBitmapPaletteType ePaletteType, [in] BOOL fAddTransparentColor)
 
HRESULT InitializeCustom ([in, size_is(colorCount)] WICColor *pColors, [in] UINT colorCount)
 
HRESULT InitializeFromBitmap ([in] IWICBitmapSource *pISurface, [in] UINT colorCount, [in] BOOL fAddTransparentColor)
 
HRESULT InitializeFromPalette ([in] IWICPalette *pIPalette)
 
HRESULT GetType ([out] WICBitmapPaletteType *pePaletteType)
 
HRESULT GetColorCount ([out] UINT *pcCount)
 
HRESULT GetColors ([in] UINT colorCount, [out, size_is(colorCount)] WICColor *pColors, [out] UINT *pcActualColors)
 
HRESULT IsBlackWhite ([out] BOOL *pfIsBlackWhite)
 
HRESULT IsGrayscale ([out] BOOL *pfIsGrayscale)
 
HRESULT HasAlpha ([out] BOOL *pfHasAlpha)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 364 of file wincodec.idl.

Member Function Documentation

◆ GetColorCount()

HRESULT IWICPalette::GetColorCount ( [out] UINT pcCount)

◆ GetColors()

HRESULT IWICPalette::GetColors ( [in] UINT  colorCount,
[out, size_is(colorCount)] WICColor pColors,
[out] UINT pcActualColors 
)

◆ GetType()

HRESULT IWICPalette::GetType ( [out] WICBitmapPaletteType pePaletteType)

◆ HasAlpha()

HRESULT IWICPalette::HasAlpha ( [out] BOOL pfHasAlpha)

◆ InitializeCustom()

HRESULT IWICPalette::InitializeCustom ( [in, size_is(colorCount)] WICColor pColors,
[in] UINT  colorCount 
)

◆ InitializeFromBitmap()

HRESULT IWICPalette::InitializeFromBitmap ( [in] IWICBitmapSource pISurface,
[in] UINT  colorCount,
[in] BOOL  fAddTransparentColor 
)

◆ InitializeFromPalette()

HRESULT IWICPalette::InitializeFromPalette ( [in] IWICPalette pIPalette)

◆ InitializePredefined()

HRESULT IWICPalette::InitializePredefined ( [in] WICBitmapPaletteType  ePaletteType,
[in] BOOL  fAddTransparentColor 
)

◆ IsBlackWhite()

HRESULT IWICPalette::IsBlackWhite ( [out] BOOL pfIsBlackWhite)

◆ IsGrayscale()

HRESULT IWICPalette::IsGrayscale ( [out] BOOL pfIsGrayscale)

The documentation for this interface was generated from the following file: