Compartilhar via


IImagingFactory::GetInstalledDecoders

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method allows an application to get the list of installed image decoders.

Syntax

HRESULT GetInstalledDecoders(
  UINT*            count,
  ImageCodecInfo** decoders
);

Parameters

  • count
    [out] A UINT value containing the number of installed image decoders.
  • decoders
    [out] A pointer to an array of ImageCodecInfo objects. When your application is done with this array, call CoTaskMemFree to free its memory.

Return Value

If successful, this method returns S_OK.

This method may return E_POINTER 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

IImagingFactory
ImageCodecInfo

Other Resources

CoTaskMemFree