HasDesktops

Checks if a GPU drives any desktops.

Syntax

Copied!

ADLX_RESULT     HasDesktops (adlx_bool* hasDesktops)

Parameters

  1. [out] hasDesktops adlx_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

Header

include “ISystem.h”

Minimum version

1.0