IMFPMPServer interface (mfidl.h)

Enables two instances of the Media Session to share the same protected media path (PMP) process.

Inheritance

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

Methods

The IMFPMPServer interface has these methods.

 
IMFPMPServer::CreateObjectByCLSID

Creates an object in the protected media path (PMP) process.
IMFPMPServer::LockProcess

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

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

Remarks

If your application creates more than one instance of the Media Session, you can use this interface to share the same PMP process among several instances. This can be more efficient than re-creating the PMP process each time.

Use this interface as follows:

  1. Create the first instance of the PMP Media Session by calling MFCreatePMPMediaSession.
  2. Retrieve an IMFPMPServer pointer from the first Media Session by calling IMFGetService::GetService with the service identifier MF_PMP_SERVER_CONTEXT.
  3. Create the second instance of the PMP Media Session. Set the MF_SESSION_SERVER_CONTEXT attribute on the pConfiguration parameter of the MFCreatePMPMediaSession function. The attribute value is the IMFPMPServer pointer retrieved in step 2.

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