weired! I HATE MSDN!
I was querying a function LockPages() here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemain4/html/cmrefLockPages.asp
What did I find? "LOCKFLAG_READ", "UserKInfo[KINX_PFN_SHIFT]" and some other symbols like that I could not find in PocketPC 2003 SDK and eVC4.0. I googled it and find an interesting page with codes for PocketBSD: http://cvs.linux4.be/cgi-bin/cvsweb.cgi/ce/cyace/pbsdboot/vmem.c?rev=1.6 I can find the defination "of LOCKFLAG_READ" in that page and the value works for PocketPC2003!
Oh, man, should I believe it? Either WinCE inherite PocketBSD, or PocketBSD inherite WinCE. And I hate MSDN, I still do not understand how to got the physical address from a virtual address by calling LockPages() with parameter "LOCKFLAG_QUERY_ONLY"!
posted 2003.10.10 Friday
分类
Technology引用通告(0)
被引用的日记: weired! I HATE MSDN!。
TrackBack URL for this entry: http://www.debagua.net/cgi-bin/mt4/mt-tb.cgi/11
如果您想引用这篇日记到您的Blog,
请复制上面的链接,放置到您发表文章时的相应界面中。

发表评论