IMFPMPClient::SetPMPHost method

Provides a pointer to the IMFPMPHost interface.

Syntax


HRESULT SetPMPHost(
  [in]  IMFPMPHost *pPMPHost
);

Parameters

pPMPHost [in]

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

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

IMFPMPClient
PMP Media Session
Protected Media Path

 

 

Community Additions

ADD
Show:
© 2014 Microsoft