Compartilhar via


IImageSink::PushRawData

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is used by an image source to pass raw image data to the image sink.

Only call this method if an agreement to transfer data in this format was negotiated during the call to IImageSink::BeginSink.

Syntax

HRESULT PushRawData(
  const VOID* buffer,
  UINT        bufsize
);

Parameters

  • buffer
    [in] A VOID pointer to the raw image data from the image source.
  • bufsize
    [in] A UINT value specifying the size of buffer in bytes.

Return Value

If successful, this method returns S_OK.

This method may return E_NOTIMPL if it fails.

Remarks

You must call IImageSink::SetPalette prior to sending data to the sink.

Requirements

Header imaging.h
Library Imaging.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IImageSink
IImageSink::BeginSink