IImageDecoder::EndDecode (Compact 2013)

3/26/2014

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

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

See Also

Reference

IImageDecoder
IImageDecoder::BeginDecode