Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
USB デバイスがアイドル状態や電源オフ状態になる前に、タイムアウト値をプログラムで設定したいと考えています。私はSetPowerState仕事をすることができる何かを見ることができますが、それはWMIによって実装されていないと言っています. どのように使用できますSetPowerStateか?
SetPowerState
デバイスがスリープ状態になってから電源をオフにするためのタイムアウト値を指定するには、別のものを使用する必要がありますか?