次の方法で共有


IImagingFactory::GetInstalledEncoders (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 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

See Also

Reference

IImagingFactory