From: Cry on 23 Oct 2006 23:18 Hi all, I'm working with mirror dirver now. I use "EngMapFile" to map memory into kernerl mode, which is used to draw screen mirror on it. I use "MapViewOfFIle" in user mode app, copy screen mirror and show, it works. So, there is a deal, immovable file name! I'm not satisfied with it. So I think can I use mapviewoffile in DrvEscape?? I add $(SDK_LIB_PATH)\kernel32.lib in file "sources",and link is OK. But It doesn't works, nothing happen. Am I totaly wrong? Or there's better way ? Sorry for my poor english. Thanks.
From: Ivan Brugiolo [MSFT] on 24 Oct 2006 12:18 Usage of user-mode imports from user-mode DLLs in display drivers makes no sense. EngMapFile maps the file of the supplied path in session space, that is normally desirable for Terminal-Server and Fast-User-Switching scenarios. The file should be open-able for delete-read-write when you pass in an exact size. -- -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Cry" <cryball(a)gmail.com> wrote in message news:1161659907.121765.295520(a)i3g2000cwc.googlegroups.com... > Hi all, > I'm working with mirror dirver now. > I use "EngMapFile" to map memory into kernerl mode, which is > used to draw screen mirror on it. > I use "MapViewOfFIle" in user mode app, copy screen mirror and > show, it works. > So, there is a deal, immovable file name! I'm not satisfied with > it. > > So I think can I use mapviewoffile in DrvEscape?? > I add $(SDK_LIB_PATH)\kernel32.lib in file "sources",and link is > OK. > But It doesn't works, nothing happen. Am I totaly wrong? Or > there's better way ? > > Sorry for my poor english. > Thanks. >
|
Pages: 1 Prev: DMA: KeFlushIoBuffers() has no memory barrier? Next: mf.sys issues with Vista |