mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-09-04 16:25:12 +00:00
Corrected the size of the DriveCommandParameter structure to match the documentation of SENDCMDINPARAMS http://msdn.microsoft.com/en-us/library/ff565401%28VS.85%29.aspx
This commit is contained in:
@@ -48,7 +48,7 @@ namespace OpenHardwareMonitor.GUI {
|
||||
InitializeComponent();
|
||||
this.Font = SystemFonts.MessageBoxFont;
|
||||
this.label3.Text = "Version " +
|
||||
System.Windows.Forms.Application.ProductVersion + " Beta";
|
||||
System.Windows.Forms.Application.ProductVersion;
|
||||
linkLabel.Links.Remove(linkLabel.Links[0]);
|
||||
linkLabel.Links.Add(0, linkLabel.Text.Length,
|
||||
"http://openhardwaremonitor.org");
|
||||
|
@@ -154,7 +154,7 @@ namespace OpenHardwareMonitor.Hardware.HDD {
|
||||
private uint BufferSize;
|
||||
public CommandBlockRegisters Registers;
|
||||
public byte DriveNumber;
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 19)]
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
|
||||
public byte[] Reserved;
|
||||
}
|
||||
|
||||
|
@@ -38,5 +38,5 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.1.37.13")]
|
||||
[assembly: AssemblyFileVersion("0.1.37.13")]
|
||||
[assembly: AssemblyVersion("0.1.37.14")]
|
||||
[assembly: AssemblyInformationalVersion("0.1.37.14 Alpha")]
|
Reference in New Issue
Block a user