Vitaliy Margolen wrote:
Friday, December 9, 2005, 12:18:26 PM, Robert Shearman wrote:
Vitaliy Margolen wrote:
+/* Map SharedUserData */
+NtAllocateVirtualMemory( NtCurrentProcess(), (PVOID)&SUD, 0,
&size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE);
Wouldn't it be better
Friday, December 9, 2005, 12:18:26 PM, Robert Shearman wrote:
> Vitaliy Margolen wrote:
>>+/* Map SharedUserData */
>>+NtAllocateVirtualMemory( NtCurrentProcess(), (PVOID)&SUD, 0,
>>&size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE);
>>
> Wouldn't it be better to use NtCreateSection/NtMapVi
Vitaliy Margolen wrote:
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index f0a4eed..8fbcad1 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -42,6 +42,7 @@
#include "wine/debug.h"
#include "wine/server.h"
#include "ntdll_misc.h"
+#include "ddk/wdm.h"
WINE_DEFAULT_DEBUG_CH