Skip to content

Latest commit

 

History

History
82 lines (63 loc) · 3.2 KB

nf-physicalmonitorenumerationapi-getphysicalmonitorsfromidirect3ddevice9.md

File metadata and controls

82 lines (63 loc) · 3.2 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:physicalmonitorenumerationapi.GetPhysicalMonitorsFromIDirect3DDevice9
GetPhysicalMonitorsFromIDirect3DDevice9 function (physicalmonitorenumerationapi.h)
Retrieves the physical monitors associated with a Direct3D device.
GetPhysicalMonitorsFromIDirect3DDevice9
GetPhysicalMonitorsFromIDirect3DDevice9 function [Monitor Configuration]
monitor.getphysicalmonitorsfromidirect3ddevice9
physicalmonitorenumerationapi/GetPhysicalMonitorsFromIDirect3DDevice9
monitor\getphysicalmonitorsfromidirect3ddevice9.htm
Monitor
1e0e9749-8ee4-42d5-ab7b-182222b6c429
12/05/2018
GetPhysicalMonitorsFromIDirect3DDevice9, GetPhysicalMonitorsFromIDirect3DDevice9 function [Monitor Configuration], monitor.getphysicalmonitorsfromidirect3ddevice9, physicalmonitorenumerationapi/GetPhysicalMonitorsFromIDirect3DDevice9
physicalmonitorenumerationapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Dxva2.lib
Dxva2.dll
Windows
19H1
GetPhysicalMonitorsFromIDirect3DDevice9
physicalmonitorenumerationapi/GetPhysicalMonitorsFromIDirect3DDevice9
c++
APIRef
kbSyntax
DllExport
dxva2.dll
GetPhysicalMonitorsFromIDirect3DDevice9

GetPhysicalMonitorsFromIDirect3DDevice9 function

-description

Retrieves the physical monitors associated with a Direct3D device.

-parameters

-param pDirect3DDevice9 [in]

Pointer to the IDirect3DDevice9 interface of the Direct3D device.

-param dwPhysicalMonitorArraySize [in]

Number of elements in pPhysicalMonitorArray. To get the required size of the array, call GetNumberOfPhysicalMonitorsFromIDirect3DDevice9.

-param pPhysicalMonitorArray [out]

Pointer to an array of PHYSICAL_MONITOR structures. The caller must allocate 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 more than one physical monitor. This function returns a handle and a text description for each physical monitor.

When you are done using the monitor handles, close them by passing the pPhysicalMonitorArray array to the DestroyPhysicalMonitors function.

-see-also

Monitor Configuration Functions