IImageDecoder::BeginDecode (Windows CE 5.0)

Windows CE 5.0
Send Feedback

This method is used to start decoding the currently selected frame.

HRESULT BeginDecode(
  IImageSink*                   sink,
  OPTIONAL IPropertySetStorage* newPropSet
);

Parameters

sink
[in] A pointer to an IImageSink interface that receives the image data that results from decoding the frame.
newPropSet
[in] An optional pointer to an IPropertySetStorage interface that contains a property set. The decoder should attach this set to the decoded image when it calls IImageSink::PushPropertyItems, rather than the property set it derives from the decoded image.

Return Values

If successful, this method returns S_OK.

If it fails, this method should return one of the following error values:

  • E_NOTIMPL
  • E_POINTER
  • E_UNEXPECTED

For more information, see Error Codes for the Imaging API.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.

See Also

IImageDecoder | IImageSink | IImageSink::PushPropertyItems | IImageDecoder::EndDecode


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: