MFTUnregister function (mfapi.h)

Unregisters a Media Foundation transform (MFT).

Syntax

HRESULT MFTUnregister(
  [in] CLSID clsidMFT
);

Parameters

[in] clsidMFT

The CLSID of the MFT.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This function removes the registry entries created by the MFTRegister function.

It is safe to call MFTUnregister twice with the same CLSID. If the CLSID is not found in the registry, the function succeeds and does nothing.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfapi.h
Library Mfplat.lib
DLL Mfplat.dll

See also

Media Foundation Functions

Media Foundation Transforms