Share via


IImagingFactory::UninstallImageCodec (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IImagingFactory
ImageCodecFlags
IImagingFactory::InstallImageCodec