Compartilhar via


IImageDecoder::EndDecode

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is used to stop the image codec from decoding the current frame.

Syntax

HRESULT EndDecode(
  HRESULT statusCode
);

Parameters

  • statusCode
    [in] An HRESULT value used to determine whether an error occurred while stopping the decode process.

    If IImageDecoder::EndDecode encounters an internal error, the method returns an error value; otherwise, the method returns the value passed in with statusCode.

Return Value

See the definition of the statusCode parameter.

If successful, this method returns S_OK.

This method may return E_FAIL if it fails.

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

IImageDecoder
IImageDecoder::BeginDecode