IImagingFactory::GetInstalledDecoders (Compact 2013)

3/26/2014

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

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

See Also

Reference

IImagingFactory
ImageCodecInfo

Other Resources

CoTaskMemFree