Partager via


IImageEncoder::GetEncodeSink

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method asks the image encoder object to return an IImageSink interface that can be used to encode the next image frame.

You can use this interface to push image data to the encoder.

After the frame is encoded, call the image sink's Release method.

Syntax

HRESULT GetEncodeSink(
  IImageSink** sink
);

Parameters

  • sink
    [out] A pointer to the resulting IImageSink interface pointer.

Return Value

If successful, this method returns S_OK.

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

IImageEncoder
IImageSink

Other Resources

IUnknown::Release