加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

DwmIsCompositionEnabled仍在Windows 8中使用吗?

发布时间:2020-12-14 02:56:04 所属栏目:Windows 来源:网络整理
导读:根据 Enable and Control DWM Composition: Note As of Windows 8,the information in this section is no longer valid. DWM can no longer be programmatically disabled,nor is it disabled when an application attempts to draw to the primary displa
根据 Enable and Control DWM Composition:

Note As of Windows 8,the information in this section is no longer
valid. DWM can no longer be programmatically disabled,nor is it
disabled when an application attempts to draw to the primary display
surface. The following information applies to only Windows 7 and
earlier systems.

好.因此我们无法再以编程方式禁用DWM.但它仍然可以被禁用吗?在Windows 8上,DwmIsCompositionEnabled的pfEnabled是否始终设置为TRUE?

如果可以某种方式禁用组合,DwmIsCompositionEnabled在任何方面仍然有用吗?

解决方法

根据MSDN上的 Desktop Window Manager is always on (Windows):

In Windows 8,Desktop Window Manager (DWM) is always ON and cannot be
disabled
by end users and apps.

In Windows 8,DWM desktop composition is a core operating system
component and cannot be disabled. With a few exceptions,desktop
composition is always on; it’s started before the user logon and
remains active for the duration of a session.

All of the options for disabling desktop composition that exist in
Window 7 are removed

Apps cannot use DwmEnableComposition to disable desktop composition.
In order to maintain backward compatibility,a call to this API will
return success; however,desktop composition is not disabled

嗯,有一个非常确定的答案.我有点好奇“有几个例外”是指什么,但是如果你碰巧知道的话请加上评论.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读