开发者

Simulating windows laptop in virtual machine?

开发者 https://www.devze.com 2023-01-31 15:03 出处:网络
I wonder if there is a way to simulate laptop in开发者_如何学Python a virtual machine. Specifically, I would like to simulate the lid closing behavior. I checked virtual box and it doesn\'t seem to ha

I wonder if there is a way to simulate laptop in开发者_如何学Python a virtual machine. Specifically, I would like to simulate the lid closing behavior. I checked virtual box and it doesn't seem to have this kind of feature.

Thanks!


You will have to write an application to do that.

The message you are interested in broadcasting is WM_POWERBROADCAST.

Take a look here if you also need to catch it.

0

精彩评论

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