IMFPMPServer::CreateObjectByCLSID method (mfidl.h)

Creates an object in the protected media path (PMP) process.

Syntax

HRESULT CreateObjectByCLSID(
  [in]  REFCLSID clsid,
  [in]  REFIID   riid,
  [out] void     **ppObject
);

Parameters

[in] clsid

CLSID of the object to create.

[in] riid

Interface identifier of the interface to retrieve.

[out] ppObject

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

Return value

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

Return code Description
S_OK
The method succeeded.

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

IMFPMPServer