Skip to content

DriverVersion

Navigation: ADLX SDK ReferencesADLX InterfacesGPUIADLXGPU2

Syntax

ADLX_RESULT    DriverVersion(const char** version)

Parameters

#DirectionNameTypeDescription
1.[out]versionconst char**The pointer to a zero-terminated string where the driver version is returned.

Return Value

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

If the driver version 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 the lifetime of the IADLXGPU2 interface.

If the application uses the driver version beyond the lifetime of the IADLXGPU2 interface, the application must make a copy of the driver version.

Requirements

Headerinclude “ISystem2.h”
Minimum version1.4

See Also: IADLXGPU2, ADLX Enums