IImagingFactory::UninstallImageCodec (Compact 2013)

3/26/2014

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

This method is used to uninstall an imaging codec.

Syntax

HRESULT UninstallImageCodec(
  const WCHAR* codecName,
  UINT flags
);

Parameters

  • codecName
    [in] A WCHAR array containing the name of the imaging codec.
  • flags
    [in] A UINT value that identifies the part of the registry that the codec should be removed from.

    Set this parameter to one of the ImageCodecFlags enumeration values in the following table.

    Flag

    Description

    ImageCodecFlagsUser

    Removes codec information from the HKEY_CURRENT_USER branch of the registry.

    ImageCodecFlagsSystem

    Removes codec information from the HKEY_LOCAL_MACHINE branch of the registry.

Return Value

If successful, this method returns S_OK.

This method may return E_INVALIDARG if it fails.

Remarks

For information on installing codecs see IImagingFactory::InstallImageCodec.

Requirements

Header

imaging.h

Library

Imaging.lib

See Also

Reference

IImagingFactory
ImageCodecFlags
IImagingFactory::InstallImageCodec