【问题标题】:Where gdi objects are kept?gdi 对象保存在哪里?
【发布时间】:2011-12-10 15:30:13
【问题描述】:

应用程序获取的gdi对象是否存储在为Windows内核保留的2GB虚拟内存空间中,在应用程序虚拟内存空间中?

如果有,请提供相关链接。

【问题讨论】:

    标签: windows winapi gdi


    【解决方案1】:

    它们存储在内核中,请参阅Mark Roussinovich's blog entry on USER and GDI objects

    【讨论】:

    • 你知道什么是会话池吗? "Unlike USER objects, GDI objects aren’t allocated from desktop heaps; instead, on Windows XP and Windows Server 2003 systems that don’t have Terminal Services installed, they allocate from general paged pool; on all other systems they allocate from per-session session pool"
    • 内核中的分页池,专门用于与会话相关的数据。
    • 好的,但它与一般的分页池有何不同?
    • 没关系。我找到了一个很好的链接blogs.msdn.com/b/ntdebugging/archive/2007/01/04/…
    猜你喜欢
    • 2020-08-08
    • 1970-01-01
    • 1970-01-01
    • 2015-07-05
    • 1970-01-01
    • 2021-03-17
    • 2012-02-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多