2011-12-31 17:31:04 +00:00
|
|
|
|
/*
|
|
|
|
|
|
2012-05-27 14:23:31 +00:00
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-12-31 17:31:04 +00:00
|
|
|
|
|
2012-10-01 17:10:09 +00:00
|
|
|
|
Copyright (C) 2011-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
|
2012-05-27 14:23:31 +00:00
|
|
|
|
|
2011-12-31 17:31:04 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
namespace OpenHardwareMonitor.Hardware.HDD {
|
|
|
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
2012-10-01 17:10:09 +00:00
|
|
|
|
internal struct DriveThresholdValue {
|
2011-12-31 17:31:04 +00:00
|
|
|
|
public byte Identifier;
|
|
|
|
|
public byte Threshold;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 10)]
|
|
|
|
|
public byte[] Unknown;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|