次の方法で共有


IImageEncoder::GetEncodeSink (Windows Embedded CE 6.0)

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

See Also

Reference

IImageEncoder
IImageSink

Other Resources

IUnknown::Release