• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 45  文章 - 129  trackbacks - 0
            <2007年7月>
            24252627282930
            1234567
            891011121314
            15161718192021
            22232425262728
            2930311234

            專注于C++ P2P STL GP OpenSource等
            Google

            常用鏈接

            留言簿(10)

            隨筆分類

            隨筆檔案

            相冊

            朋友

            • .NET

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            本文是Vista相關新技術的第一篇文章。

            轉載請注明出處。??



            最近由于工作原因,需要將系統移植到Vista上面。看了一些文檔,發現Windows Vista對內核做了一些調整。

            1. 對于Windows NT 5.x 系統來說:當第一個用戶登錄上去之后,系統啟動了Session 0作為第一個用戶的運行的Session。而一些系統程序和一些服務都運行于Session 0.這樣。這樣假如開發人員開發Service的時候選擇與桌面交互,那么服務就能很好的和桌面程序進行交互。
            2. 對于Vista系統來說,微軟做了一些調整,為了加強服務的安全性,Vista將所有Service和一些系統進程放入了Sesion 0,而對于用戶進程則從Session 1開始。這樣就能很好的避免一些惡意服務對于用戶使用的時候的一些干擾,提供更好的用戶體驗(這是我猜的 ^-^).
            3. · ???????? Use a client/server mechanism such as remote procedure call (RPC) or named pipes rather than window messages to communicate with applications.

              · ???????? Implement any necessary user interface for the service as follows:

              · ???????? Use the WTSSendMessage function to create a simple message box on the user’s desktop. This allows the service to give the user a notification and request a simple response.

              · ???????? For more complex UI, use the CreateProcessAsUser function to create a process in the user’s session. The process can then display a user interface in the user’s session. The service should use a client/server mechanism such as RPC or named pipes to obtain any response from the user.

              ·??????? Query display properties in the user’s session, not in Session?0, because the resolution and color depth that are reported in Session?0 are unlikely to reflect the actual display properties.

              · ???????? Explicitly choose either the Local\ or Global\ namespace for any named objects, such as events or mapped memory, that the service makes available. If an object must be accessible to user applications, it must be created in the Global\ namespace to be accessible to other sessions. The following Microsoft Win32? functions all accept named objects: OpenEvent, OpenMutex, OpenSemaphore, OpenWaitableTimer, OpenJobObject, and OpenFileMapping. Care should be taken when using these functions to ensure that the named object is accessible within the current session.

              · ???????? Test the driver in Windows Vista to ensure that it runs properly. If that is not possible, test the driver in Windows?XP with FUS enabled and multiple users logged on. If the driver works correctly for second and subsequent logged-on users, it is not likely to be affected by the Session?0 changes in Windows Vista. The only issues that this test does not detect are those related to the absence of the video driver in Session?0 in Windows Vista.

            如果你需要下載文檔請到文件下載。

            posted on 2006-11-03 11:39 CPP&&設計模式小屋 閱讀(1147) 評論(0)  編輯 收藏 引用 所屬分類: Windows Programming
            精品久久久久久久无码| 精品国产乱码久久久久软件| 93精91精品国产综合久久香蕉| 国产精品欧美久久久久天天影视| 少妇久久久久久被弄到高潮 | 97久久婷婷五月综合色d啪蜜芽| 中文字幕久久久久人妻| 久久青青草原综合伊人| 欧美成人免费观看久久| 国产精品久久久久久福利69堂| 青青草国产97免久久费观看| 国产精品九九九久久九九| 女人高潮久久久叫人喷水| 日韩一区二区久久久久久| 三级三级久久三级久久 | 要久久爱在线免费观看| 精品国产VA久久久久久久冰 | 91久久国产视频| 精品久久久久久亚洲精品| 午夜精品久久久久久影视riav| 国产精品伊人久久伊人电影 | 国产成人精品久久亚洲高清不卡 国产成人精品久久亚洲高清不卡 国产成人精品久久亚洲 | 久久无码国产| 成人国内精品久久久久影院VR| 国内精品久久久久伊人av | 亚洲午夜久久影院| 精品久久久久中文字幕日本| 亚洲精品乱码久久久久久自慰 | 久久99精品综合国产首页| 人妻无码久久一区二区三区免费| 性做久久久久久久久老女人| 久久久久久A亚洲欧洲AV冫 | 乱亲女H秽乱长久久久| 欧美亚洲色综久久精品国产| 伊人久久大香线蕉综合Av| 人人妻久久人人澡人人爽人人精品 | 亚洲欧美日韩久久精品第一区| 久久精品人妻中文系列| 一本一道久久综合狠狠老| 欧美va久久久噜噜噜久久| 91精品国产乱码久久久久久|