Skip to content

GetNumberOfDisplays

Navigation: ADLX SDK ReferencesADLX InterfacesDesktopIADLXDesktop

Syntax

ADLX_RESULT    GetNumberOfDisplays (adlx_uint* numDisplays)

Parameters

#DirectionNameTypeDescription
1.[out]numDisplaysadlx_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

Headerinclude “IDesktops.h”
Minimum version1.0