Share via


IImageSink::PushRawData (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 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

See Also

Reference

IImageSink
IImageSink::BeginSink