GetNumberOfDisplays

Gets the number of displays that show pixels from a desktop.

Syntax

Copied!

ADLX_RESULT     GetNumberOfDisplays (adlx_uint* numDisplays)

Parameters

  1. [out] numDisplays adlx_uint* The pointer to a variable where the number of displays is returned.

Return Value

If the number of displays is successfully returned, ADLX_OK is returned.

If the number of displays is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The number of displays that show pixels from a desktop depends on the desktop Type .

A single desktop is associated with one display.

A duplicate desktop is associated with two or more displays.

An AMD Eyefinity desktop is associated with two or more displays.

Requirements

Header

include “IDesktops.h”

Minimum version

1.0