次の方法で共有


IImageSink::SetPalette (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IImageSink
ColorPalette
IImageSink::BeginSink
IImageSink::GetPixelDataBuffer
IImageSink::PushPixelData
IImageSink::PushRawData