SubSystemVendorId

Gets the subsystem vendor id of a GPU.

Syntax

Copied!

ADLX_RESULT     SubSystemVendorId(const char** subSystemVendorId)

Parameters

  1. [out] subSystemVendorId const char** The pointer to a zero-terminated string where the subsystem vendor id of the GPU is returned.

Return Value

If the subsystem vendor id is successfully returned, ADLX_OK is returned.

If the subsystem vendor id is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The subsystem vendor id is a predetermined value programmed into the GPU at the point of manufacturing and consists of four hexadecimal digits.

Additional Info

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

If the application uses the subsystem vendor id beyond the lifetime of the IADLXGPU interface, the application must make a copy of the subsystem vendor id.

Requirements

Header

include “ISystem.h”

Minimum version

1.0