IBasicVideo::GetVideoPaletteEntries
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 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.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.