MFTUnregisterLocalByCLSID function (mfapi.h)

Unregisters a Media Foundation transform (MFT) from the caller's process.

Syntax

HRESULT MFTUnregisterLocalByCLSID(
  [in] CLSID clsidMFT
);

Parameters

[in] clsidMFT

The class identifier (CLSID) of the MFT.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
HRESULT_FROM_WIN32(ERROR_NOT_FOUND)
The MFT specified by the clsidMFT parameter was not registered in this process.

Remarks

Use this function to unregister a local MFT that was previously registered through the MFTRegisterLocalByCLSID function.

Requirements

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

See also

Media Foundation Functions