在虚拟机中模拟 Windows 笔记本电脑? [英] Simulating windows laptop in virtual machine?

查看:31
本文介绍了在虚拟机中模拟 Windows 笔记本电脑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有一种方法可以在虚拟机中模拟笔记本电脑.具体来说,我想模拟盖子关闭行为.我检查了虚拟框,它似乎没有这种功能.

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.

谢谢!

推荐答案

您必须编写一个应用程序才能做到这一点.

You will have to write an application to do that.

您有兴趣广播的消息是 WM_POWERBROADCAST.

The message you are interested in broadcasting is WM_POWERBROADCAST.

看看看看这里如果你也需要抓住它.

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

这篇关于在虚拟机中模拟 Windows 笔记本电脑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆