IMFFieldOfUseMFTUnlock::Unlock method (mfidl.h)

Unlocks a Media Foundation transform (MFT) so that the application can use it.

Syntax

HRESULT Unlock(
  [in] IUnknown *pUnkMFT
);

Parameters

[in] pUnkMFT

A pointer to the IUnknown interface of the MFT.

Return value

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

Remarks

This method authenticates the caller, using a private communication channel between the MFT and the object that implements the IMFFieldOfUseMFTUnlock interface. The details of the communication depend entirely on the implementation.

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 mfidl.h

See also

Field of Use Restrictions

IMFFieldOfUseMFTUnlock