Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IMFPMPServer interface

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

Members

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

Methods

The IMFPMPServer interface has these methods.

MethodDescription
CreateObjectByCLSID

Creates an object in the PMP process.

LockProcess

Blocks the PMP process from ending.

UnlockProcess

Decrements the lock count on the PMP process.

 

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

Media Foundation Interfaces
PMP Media Session

 

 

Community Additions

ADD
Show:
© 2015 Microsoft