Export (0) Print
Expand All

IMFLocalMFTRegistration::RegisterMFTs method

Registers one or more Media Foundation transforms (MFTs) in the caller's process.

Syntax


HRESULT RegisterMFTs(
  [in]  MFT_REGISTRATION_INFO *pMFTs,
  [in]  DWORD cMFTs
);

Parameters

pMFTs [in]

A pointer to an array of MFT_REGISTRATION_INFO structures.

cMFTs [in]

The number of elements in the pMFTs array.

Return value

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

Remarks

This method is similar to the MFTRegisterLocalByCLSID function. It registers one or more MFTs in the caller's process. These MFTs can be enumerated by calling the MFTEnumEx function with the MFT_ENUM_FLAG_LOCALMFT flag.

Unlike MFTRegisterLocalByCLSID, however, this method also makes the MFT available in the Protected Media Path (PMP) process, and is therefore useful if you are using the Media Session inside the PMP. For more information, see the following topics:

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

See also

IMFLocalMFTRegistration

 

 

Community Additions

ADD
Show:
© 2014 Microsoft