IImageSink::SetPalette (Compact 2013)
3/26/2014
This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.
This method is used by an image source to pass color palette information to the image sink.
You must call this method before image data transfer takes place.
Syntax
HRESULT SetPalette(
const ColorPalette* palette
);
Parameters
- palette
[in] A pointer to a ColorPalette structure containing the color palette information about the image that will be sent to the image sink.
Return Value
If successful, this method returns S_OK.
This method may return E_NOTIMPL if it fails.
Requirements
Header |
imaging.h |
Library |
Imaging.lib |
See Also
Reference
IImageSink
ColorPalette
IImageSink::BeginSink
IImageSink::GetPixelDataBuffer
IImageSink::PushPixelData
IImageSink::PushRawData