IOverlayNotify::OnPaletteChange
Microsoft DirectShow 9.0 |
IOverlayNotify::OnPaletteChange
The OnPaletteChange method provides notification that the palette of the window has changed.
Syntax
HRESULT OnPaletteChange( DWORD dwColors, const PALETTEENTRY *pPalette );
Parameters
dwColors
[in] Number of colors present.
pPalette
[in] Pointer to the array of palette colors.
Return Value
Returns S_OK if successful. If the method fails, it returns an HRESULT error code.
Remarks
Before returning, the filter should copy the array of RGBQUAD values, if necessary.
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also