简体   繁体   中英

Simulating windows laptop in virtual machine?

I wonder if there is a way to simulate laptop in 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM