Files
ReLibreHardwareMonitor/LibreHardwareMonitorLib/Hardware/Storage/INVMeDrive.cs
T
2019-09-23 19:29:10 +02:00

20 lines
642 B
C#

// Mozilla Public License 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/.
// Copyright (C) LibreHardwareMonitor and Contributors
// All Rights Reserved
using System.Runtime.InteropServices;
using LibreHardwareMonitor.Interop;
namespace LibreHardwareMonitor.Hardware.Storage
{
internal interface INVMeDrive
{
SafeHandle Identify(StorageInfo storageInfo);
bool IdentifyController(SafeHandle hDevice, out Kernel32.NVME_IDENTIFY_CONTROLLER_DATA data);
bool HealthInfoLog(SafeHandle hDevice, out Kernel32.NVME_HEALTH_INFO_LOG data);
}
}