Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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 bufferin bytes.

Return Value

If successful, this method returns S_OK.

This method may return E_NOTIMPL if it fails.

Remarks

You must call IImageSink::SetPaletteprior 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