Skip to content

GetNumberOfDesktops

Navigation: ADLX SDK ReferencesADLX InterfacesDesktopIADLXDesktopServices

Syntax

ADLX_RESULT    GetNumberOfDesktops (adlx_uint* numDesktops)

Parameters

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

Headerinclude “IDesktops.h”
Minimum version1.0

See Also: Compatibility