DriverPath

Gets the driver registry path of a GPU.

Syntax

Copied!

ADLX_RESULT     DriverPath (const char** driverPath)

Parameters

  1. [out] driverPath const char** The pointer to a zero-terminated string where the driver registry path of a GPU is returned.

Return Value

If the driver path is successfully returned, ADLX_OK is returned.

If the driver path is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

The returned memory buffer is valid within a lifetime of the IADLXGPU interface.

If the application uses the driver path beyond the lifetime of the IADLXGPU interface, the application must make a copy of the driver path.

Requirements

Header

include “ISystem.h”

Minimum version

1.0