Hardware/ATI/ADL.cs
changeset 3 1a0928afac6b
parent 1 361e324a0ed4
child 6 56c9d6c8c08b
     1.1 --- a/Hardware/ATI/ADL.cs	Wed Jan 27 18:12:51 2010 +0000
     1.2 +++ b/Hardware/ATI/ADL.cs	Wed Jan 27 19:30:10 2010 +0000
     1.3 @@ -48,7 +48,7 @@
     1.4      [MarshalAs(UnmanagedType.ByValTStr, SizeConst = ADL.ADL_MAX_PATH)]
     1.5      public string UDID;
     1.6      public int BusNumber;
     1.7 -    public int DriverNumber;
     1.8 +    public int DeviceNumber;
     1.9      public int FunctionNumber;
    1.10      public int VendorID;
    1.11      [MarshalAs(UnmanagedType.ByValTStr, SizeConst = ADL.ADL_MAX_PATH)]
    1.12 @@ -124,6 +124,9 @@
    1.13      public const int ADL_DL_FANCTRL_SUPPORTS_RPM_READ = 4;
    1.14      public const int ADL_DL_FANCTRL_SUPPORTS_RPM_WRITE = 8;
    1.15  
    1.16 +    public const int ATI_VENDOR_ID1 = 1002;
    1.17 +    public const int ATI_VENDOR_ID2 = 0x1002;
    1.18 +
    1.19      private delegate int ADL_Main_Control_CreateDelegate(
    1.20        ADL_Main_Memory_AllocDelegate callback, int enumConnectedAdapters);
    1.21      private delegate int ADL_Adapter_AdapterInfo_GetDelegate(IntPtr info,