Partager via


IImagingFactory::GetInstalledEncoders

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 encoders.

Syntax

HRESULT GetInstalledEncoders(
  UINT*            count,
  ImageCodecInfo** encoders
);

Parameters

  • count
    [out] A UINT value containing the number of installed image encoders.
  • encoders
    [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