[PATCH] ntdll: NtAreMappedFilesTheSame semi stub

Peter Oberndorfer kumbayo84 at arcor.de
Wed Sep 26 13:50:28 CDT 2007

 dlls/ntdll/ntdll.spec |    4 ++--
 dlls/ntdll/virtual.c  |   12 ++++++++++++
 include/winternl.h    |    1 +
 3 files changed, 15 insertions(+), 2 deletions(-)

A app hooks this function because it ties to load hidden dlls from memory
and expects the NT loader to call the function to determine if the newly mapped file
is the same as a already loaded dll.
If this function is not called by the loader the dll is load/initialize twice
which causes MSVCRT MsgBox complaining that that the CRT was initialized two times

This is a preparation for a second patch which will call the function.
But i don't yet know when and where it should be called (I assume when the dll name is same
but the preceding path of the the dll is different)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b031a23790f360dd072f0ef20305bb2399752787.diff
Type: text/x-patch
Size: 2174 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070926/64d31107/attachment.bin 

More information about the wine-patches mailing list