IMFPMPClient::SetPMPHost method (mfidl.h)

Provides a pointer to the IMFPMPHost interface.

Syntax

HRESULT SetPMPHost(
  [in] IMFPMPHost *pPMPHost
);

Parameters

[in] pPMPHost

A pointer to the IMFPMPHost interface.

Return value

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

Remarks

The IMFPMPHost pointer is apartment threaded. The media source must add the pointer to the global interface table (GIT) before using it.

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
Library Mfuuid.lib

See also

IMFPMPClient

PMP Media Session

Protected Media Path