@@ -131,6 +131,18 @@ internal struct ADLODNPerformanceStatus {
131131 public int VDDCI ;
132132 }
133133
134+ [ StructLayout ( LayoutKind . Sequential ) ]
135+ internal struct ADLVersionsInfo {
136+ [ MarshalAs ( UnmanagedType . ByValTStr , SizeConst = 256 ) ]
137+ public string DriverVersion ;
138+
139+ [ MarshalAs ( UnmanagedType . ByValTStr , SizeConst = 256 ) ]
140+ public string CatalystVersion ;
141+
142+ [ MarshalAs ( UnmanagedType . ByValTStr , SizeConst = 256 ) ]
143+ public string CatalystWebLink ;
144+ }
145+
134146 internal enum ADLODNCurrentPowerType {
135147 TOTAL_POWER = 0 ,
136148 PPT_POWER ,
@@ -357,6 +369,8 @@ public delegate ADLStatus ADL_Overdrive5_ODParameters_GetDelegate(
357369 public delegate ADLStatus ADL2_OverdriveN_PerformanceStatus_GetDelegate (
358370 IntPtr context , int adapterIndex ,
359371 out ADLODNPerformanceStatus performanceStatus ) ;
372+ public delegate ADLStatus ADL_Graphics_Versions_GetDelegate (
373+ out ADLVersionsInfo versionInfo ) ;
360374
361375 private static ADL_Main_Control_CreateDelegate
362376 _ADL_Main_Control_Create ;
@@ -401,6 +415,8 @@ public static ADL_Overdrive5_ODParameters_GetDelegate
401415 ADL_Overdrive5_ODParameters_Get ;
402416 public static ADL2_OverdriveN_PerformanceStatus_GetDelegate
403417 ADL2_OverdriveN_PerformanceStatus_Get ;
418+ public static ADL_Graphics_Versions_GetDelegate
419+ ADL_Graphics_Versions_Get ;
404420
405421 private static string dllName ;
406422
@@ -463,6 +479,8 @@ private static void CreateDelegates(string name) {
463479 out ADL_Overdrive5_ODParameters_Get ) ;
464480 GetDelegate ( "ADL2_OverdriveN_PerformanceStatus_Get" ,
465481 out ADL2_OverdriveN_PerformanceStatus_Get ) ;
482+ GetDelegate ( "ADL_Graphics_Versions_Get" ,
483+ out ADL_Graphics_Versions_Get ) ;
466484 }
467485
468486 static ADL ( ) {
0 commit comments