GetServerForPMP function (comppkgsup.h)
Gets a COM server that has been registered for Protected Media Process (PMP) usage with previous call to RegisterServerForPMP.
Syntax
HRESULT GetServerForPMP(
HSTRING serverClassId,
[out] IUnknown **unknown
);
Parameters
serverClassId
The CLSID of the server to be retrieved.
[out] unknown
Receives a pointer to the requested COM server interface.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | comppkgsup.h |
Library | Comppkgsup.lib |
DLL | CompPkgSup.dll |