IMFPMPHost interface (mfidl.h)

Enables a media source in the application process to create objects in the protected media path (PMP) process.

Inheritance

The IMFPMPHost interface inherits from the IUnknown interface. IMFPMPHost also has these types of members:

Methods

The IMFPMPHost interface has these methods.

 
IMFPMPHost::CreateObjectByCLSID

Creates an object in the protect media path (PMP) process, from a CLSID.
IMFPMPHost::LockProcess

Blocks the protected media path (PMP) process from ending. (IMFPMPHost.LockProcess)
IMFPMPHost::UnlockProcess

Decrements the lock count on the protected media path (PMP) process. Call this method once for each call to IMFPMPHost::LockProcess.

Remarks

This interface is used when a media source resides in the application process but the Media Session resides in a PMP process. The media source can use this interface to create objects in the PMP process. For example, to play DRM-protected content, the media source typically must create an input trust authority (ITA) in the PMP process.

To use this interface, the media source implements the IMFPMPClient interface. The PMP Media Session calls IMFPMPClient::SetPMPHost on the media source, passing in a pointer to the IMFPMPHost interface.

You can also get a pointer to this interface by calling IMFGetService::GetService on the PMP Media Session, using the service identifier MF_PMP_SERVICE.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also

Media Foundation Interfaces

PMP Media Session

Protected Media Path