GetNumberOfPhysicalMonitorsFromIDirect3DDevice9 function

Retrieves the number of physical monitors associated with a Direct3D device.

Syntax


HRESULT GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(
  _In_   IDirect3DDevice9 *pDirect3DDevice9,
  _Out_  LPDWORD pdwNumberOfPhysicalMonitors
);

Parameters

pDirect3DDevice9 [in]

Pointer to the IDirect3DDevice9 interface of the Direct3D device.

pdwNumberOfPhysicalMonitors [out]

Receives the number of physical monitors associated with the Direct3D device.

Return value

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

PhysicalMonitorEnumerationAPI.h

Library

Dxva2.lib

DLL

Dxva2.dll

See also

Monitor Configuration Functions
GetPhysicalMonitorsFromIDirect3DDevice9

 

 

Show: