Spin Down Hard Disk Programmatically on Windows?

前端 未结 5 468
名媛妹妹
名媛妹妹 2021-02-01 19:44

How do you request Windows to spin down a hard disk programmatically? Is there any user-mode function I can call (or kernel-mode function to call or IRP to send) in order to mak

5条回答
  •  南旧
    南旧 (楼主)
    2021-02-01 20:19

    I hope this helps:

    This: http://msdn.microsoft.com/en-us/library/aa394173%28VS.85%29.aspx

    Leads to this: http://msdn.microsoft.com/en-us/library/aa394132%28VS.85%29.aspx#properties

    Then, you can browse to this: http://msdn.microsoft.com/en-us/library/aa393485(v=VS.85).aspx

    This documentation seems to outline what you are looking for I think.

    P.S. Just trying to help, don't shoot the messanger.

提交回复
热议问题