Partager via


IImageEncoder::GetEncodeSink (Compact 2013)

3/26/2014

This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.

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

See Also

Reference

IImageEncoder
IImageSink

Other Resources

IUnknown::Release