Skip to content

HasDesktops

Navigation: ADLX SDK ReferencesADLX InterfacesGPUIADLXGPU

Syntax

ADLX_RESULT    HasDesktops (adlx_bool* hasDesktops)

Parameters

#DirectionNameTypeDescription
1.[out]hasDesktopsadlx_bool*The pointer to a variable to check if a GPU drives any desktops is returned. The variable is true if the GPU drives desktops. The variable is false if the GPU does not drive any desktop.

Return Value

If HasDesktops is successfully executed, ADLX_OK is returned.

If HasDesktops is not successfully executed, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Headerinclude “ISystem.h”
Minimum version1.0