IWICPalette_InitializePredefined_Proxy function

Proxy function for the InitializePredefined method.

Syntax


HRESULT IWICPalette_InitializePredefined_Proxy(
  _In_ IWICPalette          *THIS_PTR,
  _In_ WICBitmapPaletteType ePaletteType,
  _In_ BOOL                 fAddTransparentColor
);

Parameters

THIS_PTR [in]

Type: IWICPalette*

Pointer to this IWICPalette object.

ePaletteType [in]

Type: WICBitmapPaletteType

The desired pre-defined palette type.

fAddTransparentColor [in]

Type: BOOL

The optional tranparent color to add to the palette. If no transparent color is needed, use 0.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

DLL

Windowscodecs.dll;
Wincodec.lib

 

 

Show: