Export (0) Print
Expand All
Expand Minimize

MFCreatePMPServer function

Creates the protected media path (PMP) server object.

Syntax


HRESULT MFCreatePMPServer(
  _In_   DWORD dwCreationFlags,
  _Out_  IMFPMPServer **ppPMPServer
);

Parameters

dwCreationFlags [in]

A member of the MFPMPSESSION_CREATION_FLAGS enumeration that specifies how to create the PMP session.

ppPMPServer [out]

Receives a pointer to the IMFPMPServer interface. The caller must release the interface.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The function succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Foundation Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft