More LDR constants changes.
Modified: trunk/reactos/ntoskrnl/ldr/rtl.c
Modified: trunk/reactos/ntoskrnl/ldr/sysdll.c

Modified: trunk/reactos/ntoskrnl/ldr/rtl.c
--- trunk/reactos/ntoskrnl/ldr/rtl.c	2005-01-01 22:53:21 UTC (rev 12710)
+++ trunk/reactos/ntoskrnl/ldr/rtl.c	2005-01-01 22:57:06 UTC (rev 12711)
@@ -1,4 +1,4 @@
-/* $Id: rtl.c,v 1.20 2004/08/15 16:39:06 chorns Exp $
+/* $Id$
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
@@ -28,9 +28,9 @@
    
    DosHeader = (PIMAGE_DOS_HEADER)BaseAddress;
    NTHeaders = (PIMAGE_NT_HEADERS)((char*)BaseAddress + DosHeader->e_lfanew);
-   if ((DosHeader->e_magic != IMAGE_DOS_MAGIC)
+   if ((DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
        || (DosHeader->e_lfanew == 0L)
-       || (*(PULONG) NTHeaders != IMAGE_PE_MAGIC))
+       || (*(PULONG) NTHeaders != IMAGE_NT_SIGNATURE))
      {
 	return(NULL);
      }

Modified: trunk/reactos/ntoskrnl/ldr/sysdll.c
--- trunk/reactos/ntoskrnl/ldr/sysdll.c	2005-01-01 22:53:21 UTC (rev 12710)
+++ trunk/reactos/ntoskrnl/ldr/sysdll.c	2005-01-01 22:57:06 UTC (rev 12711)
@@ -125,9 +125,9 @@
     */
    DosHeader = (PIMAGE_DOS_HEADER) BlockBuffer;
    NTHeaders = (PIMAGE_NT_HEADERS) (BlockBuffer + DosHeader->e_lfanew);
-   if ((DosHeader->e_magic != IMAGE_DOS_MAGIC)
+   if ((DosHeader->e_magic != IMAGE_DOS_SIGNATURE)
        || (DosHeader->e_lfanew == 0L)
-       || (*(PULONG) NTHeaders != IMAGE_PE_MAGIC))
+       || (*(PULONG) NTHeaders != IMAGE_NT_SIGNATURE))
      {
 	DbgPrint("NTDLL format invalid\n");
 	ZwClose(FileHandle);