Microsoft Windows CE 3.0  

IBasicVideo::GetVideoPaletteEntries

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retrieves the palette colors for the video.

HRESULT
GetVideoPaletteEntries(
long
StartIndex
,
long
Entries
,
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 Microsoft Win32 PALETTEENTRYstructures.

Return Values

Returns an HRESULTvalue.

Remarks

An application can query the colors required by the video with this method. An application can pass in a null pPaletteparameter, and the pRetrievedparameter is filled in with the number of colors in use. The pPaletteparameter is a pointer to an array of PALETTEENTRYstructures. With the StartIndexand Entriesparameters, an application can request any contiguous section of the palette in a single method. The interface was modeled on the Win32 GetSystemPaletteEntriesfunction.