Gets the number of desktops instantiated on the AMD GPUs.
ADLX_RESULT GetNumberOfDesktops (adlx_uint* numDesktops)
[out]numDesktops adlx_uint* The pointer to a variable where the number of desktops is returned.
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.
For more information about the AMD GPUs, refer to ADLX GPU Support .