Monitor GetNumberOfPhysicalMonitorsFromIDirect3DDevice9 Function 

 
Monitor Configuration API
Previous Next

GetNumberOfPhysicalMonitorsFromIDirect3DDevice9 Function

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

Syntax

  BOOL GetNumberOfPhysicalMonitorsFromIDirect3DDevice9(
  IDirect3DDevice9 *
    pDirect3DDevice9,

    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 the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError.

Requirements

Client: Requires Windows Vista.

Header: Include PhysicalMonitorEnumerationAPI.h.

Library: Use dxva2.lib.

See Also

Previous Next