Share via


IBasicVideo::GetVideoPaletteEntries (Windows CE 5.0)

Send Feedback

This method retrieves the palette colors for the video.

HRESULTGetVideoPaletteEntries(longStartIndex,longEntries,long* pRetrieved,long* pPalette);

Parameters

  • StartIndex
    [in] Start index for the palette.
  • Entries
    [in] Number of palette entries required.
  • pRetrieved
    [out] Number of entries actually returned.
  • pPalette
    [out] Pointer to an array of Win32 PALETTEENTRY structures.

Return Values

Returns an HRESULT value.

Remarks

An application can query the colors required by the video with this method.

An application can pass in a null pPalette parameter, and the pRetrieved parameter is filled in with the number of colors in use.

The pPalette parameter is a pointer to an array of PALETTEENTRY structures.

With the StartIndex and Entries parameters, an application can request any contiguous section of the palette in a single method.

The interface was modeled on the Win32 GetSystemPaletteEntries function.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.