weired! I HATE MSDN!

| | 评论(0) | 引用通告(0)

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

分类

引用通告(0)

被引用的日记: weired! I HATE MSDN!

TrackBack URL for this entry: http://www.debagua.net/cgi-bin/mt4/mt-tb.cgi/11
如果您想引用这篇日记到您的Blog,
请复制上面的链接,放置到您发表文章时的相应界面中。

发表评论

关于此日记

此日记由mach发表于2003年10月10日 21:46

此Blog上的上一篇日记Crocodile Piano Bar

此Blog上的下一篇日记Raining

主索引归档页可以看到最新的日记和所有日记。

Powered by Movable Type 4.0