Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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::EndDecodeencounters 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 statusCodeparameter.

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