IsExternal

Checks if a GPU is an external or internal GPU.

Syntax

Copied!

ADLX_RESULT     IsExternal (adlx_bool* isExternal)

Parameters

  1. [out] isExternal adlx_bool* The pointer to a variable where the state of the GPU is returned. The variable is true if the GPU is external. The variable is false if the GPU is internal.

Return Value

If IsExternal is successfully executed, ADLX_OK is returned.

If IsExternal 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