IImagingFactory::UninstallImageCodec

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IImagingFactory
ImageCodecFlags
IImagingFactory::InstallImageCodec