On Wed, Jan 02, 2002 at 03:28:22PM -0500, Robert Baruch wrote:
Hi Dan,
"Windows NT/2000 Native API Reference" by Gary Nebbett http://www.amazon.com/exec/obidos/ASIN/1578701996/ according to my friend who wrote one of the competitors to Shrinker.
I don't know... I looked at its index on amazon.com, and it had no reference to LdrAccessResource. So I suspect this book gives no information about the undocumented aspects of Windows, and probably regurgitates (like so many other API books) the online documentation.
Nebbett's book is very good and almost unique as a reference on the specific area it covers (the API provided to user-mode by the NT kernel) but its focus is also very narrow and since LdrAccessResource is implemented purely by ntdll.dll I wouldn't have expected it to be covered.
There's also a book called "Undocumented Windows NT". That would probably be the best hope of understanding LdrAccessResource, but without being able to flip through it, I don't know if they cover it.
I own this book and it doesn't have any information on it. There is however an implementation in ReactOS: http://mok.lvcm.com/cgi-bin/reactos/ros-cvs/reactos/lib/ntdll/ldr/utils.c