GetNumberOfDesktops

Gets the number of desktops instantiated on the AMD GPUs.

Syntax

Copied!

ADLX_RESULT     GetNumberOfDesktops (adlx_uint* numDesktops)

Parameters

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

Return Value

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

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

Refer to ADLX_RESULT for success codes and error codes.

Remarks

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

Requirements

Header

include “IDesktops.h”

Minimum version

1.0