获取磁盘转速示例代码
我不太擅长 VC++,但是有人有示例代码来获取计算机中磁盘的旋转速度吗?我一直致力于检测 SSD 驱动器,整天研究的一个解决方案是获取旋转速度,由于 SSD 的转速为 0 rpm,这可能是检测 SSD 驱动器的唯一方法。
Im not really good at VC++ but does anyone have a sample code to get the rotation speed of disk in a computer. I have been working on detecting SSD drives and one solution from researching all day was to get the rotation speed and since SSD have 0 rpm this might be the only way to detect SSD drive.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
来自 Google wmi ssd 检测
也非常有启发性:
http://blogs.msdn.com/b/e7/archive/2009/05/05/support-and-qa-for-solid-state-drives-and.aspx
SSD 上会默认禁用磁盘碎片整理吗?
From google wmi ssd detect
Also very enlightening:
http://blogs.msdn.com/b/e7/archive/2009/05/05/support-and-q-a-for-solid-state-drives-and.aspx
Will disk defragmentation be disabled by default on SSDs?
我知道这是一个旧线程,但这适用于 Windows 10
I know this is an old thread but this will work on Windows 10
您最好寻找 TRIM 命令。
You are likely better off looking for the TRIM command.