次の方法で共有


IImageSink::PushRawData (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

IImageSink
IImageSink::BeginSink