Release version 0.1.3.1. Added a a bit more info to ADL reports.

This commit is contained in:
Michael Möller
2010-01-29 21:14:23 +00:00
parent 7ad756efa1
commit 7053cc9b13
2 changed files with 14 additions and 5 deletions
+12 -3
View File
@@ -91,14 +91,16 @@ namespace OpenHardwareMonitor.Hardware.ATI {
report.Append("DeviceNumber: ");
report.AppendLine(adapterInfo[i].DeviceNumber.ToString());
report.Append("FunctionNumber: ");
report.AppendLine(adapterInfo[i].FunctionNumber.ToString());
report.AppendLine();
report.AppendLine(adapterInfo[i].FunctionNumber.ToString());
if (isActive == 1) {
int adapterID;
ADL.ADL_Adapter_ID_Get(adapterInfo[i].AdapterIndex,
out adapterID);
report.Append("AdapterID: 0x");
report.AppendLine(adapterID.ToString("X"));
if (adapterID > 0 &&
adapterInfo[i].UDID != "" &&
adapterInfo[i].Present > 0 &&
@@ -120,10 +122,17 @@ namespace OpenHardwareMonitor.Hardware.ATI {
adapterInfo[i].DeviceNumber));
}
}
report.AppendLine();
}
}
}
} catch (DllNotFoundException) { } catch (EntryPointNotFoundException) { }
} catch (DllNotFoundException) { }
catch (EntryPointNotFoundException e) {
report.AppendLine();
report.AppendLine(e.ToString());
report.AppendLine();
}
}
public IHardware[] Hardware {