Skip to content

Latest commit

 

History

History
112 lines (89 loc) · 4.58 KB

nf-opmapi-opmgetvideooutputsfromidirect3ddevice9object.md

File metadata and controls

112 lines (89 loc) · 4.58 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:opmapi.OPMGetVideoOutputsFromIDirect3DDevice9Object
OPMGetVideoOutputsFromIDirect3DDevice9Object function (opmapi.h)
Creates an Output Protection Manager (OPM) object for each physical monitor that is associated with a particular Direct3D device.
OPMGetVideoOutputsFromIDirect3DDevice9Object
OPMGetVideoOutputsFromIDirect3DDevice9Object function [Media Foundation]
OPM_VOS_COPP_SEMANTICS
OPM_VOS_OPM_SEMANTICS
mf.opmgetvideooutputsfromidirect3ddevice9object
opmapi/OPMGetVideoOutputsFromIDirect3DDevice9Object
mf\opmgetvideooutputsfromidirect3ddevice9object.htm
mf
9b287058-9e06-4c40-84f4-506aefce5b8a
12/05/2018
OPMGetVideoOutputsFromIDirect3DDevice9Object, OPMGetVideoOutputsFromIDirect3DDevice9Object function [Media Foundation], OPM_VOS_COPP_SEMANTICS, OPM_VOS_OPM_SEMANTICS, mf.opmgetvideooutputsfromidirect3ddevice9object, opmapi/OPMGetVideoOutputsFromIDirect3DDevice9Object
opmapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Dxva2.lib
Dxva2.dll
Windows
19H1
OPMGetVideoOutputsFromIDirect3DDevice9Object
opmapi/OPMGetVideoOutputsFromIDirect3DDevice9Object
c++
APIRef
kbSyntax
DllExport
dxva2.dll
OPMGetVideoOutputsFromIDirect3DDevice9Object

OPMGetVideoOutputsFromIDirect3DDevice9Object function

-description

Creates an Output Protection Manager (OPM) object for each physical monitor that is associated with a particular Direct3D device.

-parameters

-param pDirect3DDevice9 [in]

Pointer to the IDirect3DDevice9 interface of a Direct3D device.

-param vos [in]

A member of the OPM_VIDEO_OUTPUT_SEMANTICS enumeration.

Value Meaning
OPM_VOS_OPM_SEMANTICS
The returned IOPMVideoOutput pointers will use OPM semantics.
OPM_VOS_COPP_SEMANTICS
The returned IOPMVideoOutput pointers will use Certified Output Protection Protocol (COPP) semantics.

-param pulNumVideoOutputs [out]

Receives the number of IOPMVideoOutput pointers returned in the pppOPMVideoOutputArray parameter.

-param pppOPMVideoOutputArray [out]

Receives a pointer to an array of IOPMVideoOutput pointers. Each IOPMVideoOutput pointer is associated with a single physical monitor. The caller must release each pointer in the array, and call CoTaskMemFree to free the array.

-returns

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

-remarks

A single Direct3D device can be associated with several physical monitors. Each physical monitor has its own connector. The application must set the protection mechanism individually for each physical monitor, by using the IOPMVideoOutput pointers returned in pppOPMVideoOutputArray.

The IOPMVideoOutput interface has two modes of behavior, depending on the value of the vos parameter. If vos is OPM_VOS_COPP_SEMANTICS, IOPMVideoOutput uses COPP semantics. This mode is intended for backward compatibility with COPP. If vos is OPM_VOS_OPM_SEMANTICS, IOPMVideoOutput uses the newer OPM semantics. Differences in behavior are noted on the reference page for each method. The mode does not change during the lifetime of the object.

-see-also

OPM Functions