IMFPMPHostApp::ActivateClassById method

Creates a Windows Runtime object in the protected media path (PMP) process.

Syntax

HRESULT ActivateClassById(
  LPCWSTR id,
  IStream *pStream,
  REFIID  riid,
  void    **ppv
);

Parameters

id

Id of object to create.

pStream

Data to be passed to the object by way of a IPersistStream.

riid

The interface identifier (IID) of the interface to retrieve.

ppv

Receives a pointer to the created object.

Return Value

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

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h

See Also

IMFPMPHostApp