GetNumberOfDisplays

Gets the number of displays connected to the AMD GPUs.

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 errors codes.

Remarks

For more information about the AMD GPUs, refer to ADLX GPU Support .

Requirements

Header

include “IDisplays.h”

Minimum version

1.0