IMFMediaEngineOPMInfo::GetOPMInfo method (mfmediaengine.h)

Gets status information about the Output Protection Manager (OPM).

Syntax

HRESULT GetOPMInfo(
  [out] MF_MEDIA_ENGINE_OPM_STATUS *pStatus,
  [out] BOOL                       *pConstricted
);

Parameters

[out] pStatus

A pointer to a MF_MEDIA_ENGINE_OPM_STATUS enum type that indicates the OPM status.

[out] pConstricted

A pointer to a BOOL type that indicates the constriction status.

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
INVALIDARG
If any of the parameters are NULL.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header mfmediaengine.h

See also

IMFMediaEngineOPMInfo