Hardware/ATI/ATIGroup.cs
changeset 11 64b46a2cc8ae
parent 6 56c9d6c8c08b
child 18 49220085218d
     1.1 --- a/Hardware/ATI/ATIGroup.cs	Fri Jan 29 20:28:27 2010 +0000
     1.2 +++ b/Hardware/ATI/ATIGroup.cs	Fri Jan 29 21:14:23 2010 +0000
     1.3 @@ -91,14 +91,16 @@
     1.4                  report.Append("DeviceNumber: ");
     1.5                  report.AppendLine(adapterInfo[i].DeviceNumber.ToString());
     1.6                  report.Append("FunctionNumber: ");
     1.7 -                report.AppendLine(adapterInfo[i].FunctionNumber.ToString());
     1.8 -                report.AppendLine();
     1.9 +                report.AppendLine(adapterInfo[i].FunctionNumber.ToString());                
    1.10  
    1.11                  if (isActive == 1) {
    1.12                    int adapterID;
    1.13                    ADL.ADL_Adapter_ID_Get(adapterInfo[i].AdapterIndex,
    1.14                      out adapterID);
    1.15  
    1.16 +                  report.Append("AdapterID: 0x");
    1.17 +                  report.AppendLine(adapterID.ToString("X"));
    1.18 +
    1.19                    if (adapterID > 0 && 
    1.20                      adapterInfo[i].UDID != "" && 
    1.21                      adapterInfo[i].Present > 0 &&
    1.22 @@ -120,10 +122,17 @@
    1.23                          adapterInfo[i].DeviceNumber));
    1.24                    }
    1.25                  }
    1.26 +
    1.27 +                report.AppendLine();
    1.28                }
    1.29            }
    1.30          }
    1.31 -      } catch (DllNotFoundException) { } catch (EntryPointNotFoundException) { }
    1.32 +      } catch (DllNotFoundException) { } 
    1.33 +        catch (EntryPointNotFoundException e) {
    1.34 +          report.AppendLine();
    1.35 +          report.AppendLine(e.ToString());
    1.36 +          report.AppendLine();        
    1.37 +        }
    1.38      }
    1.39  
    1.40      public IHardware[] Hardware {