PCIBusType

Gets the PCI bus type of a GPU.

Syntax

Copied!

ADLX_RESULT     PCIBusType (ADLX_PCI_BUS_TYPE * busType)

Parameters

  1. [out] busType ADLX_PCI_BUS_TYPE * The pointer to a variable where the GPU PCI bus type is returned.

Return Value

If the GPU PCI bus type is successfully returned, ADLX_OK is returned.

If the GPU PCI bus type is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “ISystem1.h”

Minimum version

1.2