ADL (AMD Display Library) Public APIs  Version 17.1
AdapterInfo Struct Reference

Structure containing information about the graphics adapter. More...

#include <adl_structures.h>

Common Members \n Structure members that are common for Linux and Windows(XP, Vista and above); 32bit and 64bit \n @{

int iSize
 Size of the structure. More...
 
int iAdapterIndex
 The ADL index handle. One GPU may be associated with one or two index handles. More...
 
char strUDID [256]
 The unique device ID associated with this adapter. More...
 
int iBusNumber
 The BUS number associated with this adapter. More...
 
int iDeviceNumber
 The driver number associated with this adapter. More...
 
int iFunctionNumber
 The function number. More...
 
int iVendorID
 The vendor ID associated with this adapter. More...
 
char strAdapterName [256]
 Adapter name. More...
 
char strDisplayName [256]
 Display name. For example, "\\\\Display0" for Windows or ":0:0" for Linux. More...
 
int iPresent
 Present or not; 1 if present and 0 if not present.It the logical adapter is present, the display name such as \\.\Display1 can be found from OS. More...
 

Windows Members \n Structure members that are common for Windows 7, 10 and above; 32bit and 64bit \n @{

int iExist
 Exist or not; 1 is exist and 0 is not present. More...
 
char strDriverPath [256]
 Driver registry path. More...
 
char strDriverPathExt [256]
 Driver registry path Ext for. More...
 
char strPNPString [256]
 PNP string from Windows. More...
 
int iOSDisplayIndex
 It is generated from EnumDisplayDevices. More...
 

Linux Members \n Structure members that are common for Linux; 32bit and 64bit \n @{

int iXScreenNum
 Internal X screen number from GPUMapInfo (DEPRICATED use XScreenInfo) More...
 
int iDrvIndex
 Internal driver index from GPUMapInfo. More...
 
char strXScreenConfigName [256]
 

Detailed Description

Structure containing information about the graphics adapter.

This structure is used to store various information about the graphics adapter. This information can be returned to the user. Alternatively, it can be used to access various driver calls to set or fetch various settings upon the user's request.

Field Documentation

◆ iAdapterIndex

int AdapterInfo::iAdapterIndex

The ADL index handle. One GPU may be associated with one or two index handles.

◆ iBusNumber

int AdapterInfo::iBusNumber

The BUS number associated with this adapter.

◆ iDeviceNumber

int AdapterInfo::iDeviceNumber

The driver number associated with this adapter.

◆ iDrvIndex

int AdapterInfo::iDrvIndex

Internal driver index from GPUMapInfo.

◆ iExist

int AdapterInfo::iExist

Exist or not; 1 is exist and 0 is not present.

◆ iFunctionNumber

int AdapterInfo::iFunctionNumber

The function number.

◆ iOSDisplayIndex

int AdapterInfo::iOSDisplayIndex

It is generated from EnumDisplayDevices.

◆ iPresent

int AdapterInfo::iPresent

Present or not; 1 if present and 0 if not present.It the logical adapter is present, the display name such as \\.\Display1 can be found from OS.

◆ iSize

int AdapterInfo::iSize

Size of the structure.

◆ iVendorID

int AdapterInfo::iVendorID

The vendor ID associated with this adapter.

◆ iXScreenNum

int AdapterInfo::iXScreenNum

Internal X screen number from GPUMapInfo (DEPRICATED use XScreenInfo)

◆ strAdapterName

char AdapterInfo::strAdapterName[256]

Adapter name.

◆ strDisplayName

char AdapterInfo::strDisplayName[256]

Display name. For example, "\\\\Display0" for Windows or ":0:0" for Linux.

◆ strDriverPath

char AdapterInfo::strDriverPath[256]

Driver registry path.

◆ strDriverPathExt

char AdapterInfo::strDriverPathExt[256]

Driver registry path Ext for.

◆ strPNPString

char AdapterInfo::strPNPString[256]

PNP string from Windows.

◆ strUDID

char AdapterInfo::strUDID[256]

The unique device ID associated with this adapter.

◆ strXScreenConfigName

char AdapterInfo::strXScreenConfigName[256]
Deprecated:
Internal x config file screen identifier name. Use XScreenInfo instead.

The documentation for this struct was generated from the following file:

Copyright © 2009-2020 Advanced Micro Devices, Inc. All rights reserved.