Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MFTUnregisterLocal function

Unregisters one or more Media Foundation transforms (MFTs) from the caller's process.

Syntax


HRESULT MFTUnregisterLocal(
  _In_  IClassFactory *pClassFactory
);

Parameters

pClassFactory [in]

A pointer to the IClassFactory interface of a class factory object. This parameter can be NULL.

Return value

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

Return codeDescription
S_OK

The method succeeded.

HRESULT_FROM_WIN32(ERROR_NOT_FOUND)

The MFT specified by the pClassFactory parameter was not registered in this process.

 

Remarks

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

If the pClassFactory parameter is NULL, all local MFTs in the process are unregistered. Otherwise, the function unregisters the MFT associated with the class factory specified by the pClassFactory parameter. In that case, the pClassFactory parameter should equal a pointer value that was previously passed to the MFTRegisterLocal function.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.