开发者

Is it possible to an app that listens to the Windows audio input to let the system save power?

开发者 https://www.devze.com 2023-01-16 16:45 出处:网络
From the moment we ca开发者_如何学Goll Win API\'s WaveInOpen method the system won\'t sleep nor hibernate until this stream is closed.

From the moment we ca开发者_如何学Goll Win API's WaveInOpen method the system won't sleep nor hibernate until this stream is closed. Is there any workaround for this?


Wild guess: try calling SetThreadExecutionState(ES_CONTINUOUS) on the same thread that called WaveInOpen.

0

精彩评论

暂无评论...
验证码 换一张
取 消