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
authormoel.mich
Sat, 18 Sep 2010 15:13:26 +0000
changeset 1886ce1c13899e1
parent 187 a7c93597137f
child 189 69b90bbffb97
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
GUI/AboutBox.cs
Hardware/HDD/SMART.cs
Properties/AssemblyVersion.cs
     1.1 --- a/GUI/AboutBox.cs	Fri Sep 17 18:32:11 2010 +0000
     1.2 +++ b/GUI/AboutBox.cs	Sat Sep 18 15:13:26 2010 +0000
     1.3 @@ -48,7 +48,7 @@
     1.4        InitializeComponent();
     1.5        this.Font = SystemFonts.MessageBoxFont;
     1.6        this.label3.Text = "Version " + 
     1.7 -        System.Windows.Forms.Application.ProductVersion + " Beta";
     1.8 +        System.Windows.Forms.Application.ProductVersion;
     1.9        linkLabel.Links.Remove(linkLabel.Links[0]);
    1.10        linkLabel.Links.Add(0, linkLabel.Text.Length,
    1.11          "http://openhardwaremonitor.org");
     2.1 --- a/Hardware/HDD/SMART.cs	Fri Sep 17 18:32:11 2010 +0000
     2.2 +++ b/Hardware/HDD/SMART.cs	Sat Sep 18 15:13:26 2010 +0000
     2.3 @@ -154,7 +154,7 @@
     2.4        private uint BufferSize;           
     2.5        public CommandBlockRegisters Registers;           
     2.6        public byte DriveNumber;   
     2.7 -      [MarshalAs(UnmanagedType.ByValArray, SizeConst = 19)]
     2.8 +      [MarshalAs(UnmanagedType.ByValArray, SizeConst = 20)]
     2.9        public byte[] Reserved;                                
    2.10      }
    2.11  
     3.1 --- a/Properties/AssemblyVersion.cs	Fri Sep 17 18:32:11 2010 +0000
     3.2 +++ b/Properties/AssemblyVersion.cs	Sat Sep 18 15:13:26 2010 +0000
     3.3 @@ -38,5 +38,5 @@
     3.4  using System;
     3.5  using System.Reflection;
     3.6  
     3.7 -[assembly: AssemblyVersion("0.1.37.13")]
     3.8 -[assembly: AssemblyFileVersion("0.1.37.13")]
     3.9 +[assembly: AssemblyVersion("0.1.37.14")]
    3.10 +[assembly: AssemblyInformationalVersion("0.1.37.14 Alpha")]
    3.11 \ No newline at end of file