Skip to content

DriverPath

Navigation: ADLX SDK ReferencesADLX InterfacesGPUIADLXGPU

Syntax

ADLX_RESULT    DriverPath (const char** driverPath)

Parameters

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

Headerinclude “ISystem.h”
Minimum version1.0

See Also: IADLXGPU