Use free Windows DDK and compile with latest MinGW releases.
[reactos.git] / reactos / ntoskrnl / io / xhaldrv.c
index 8f5204f..9dd4ae2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: xhaldrv.c,v 1.23 2002/05/29 21:40:39 ekohl Exp $
+/* $Id: xhaldrv.c,v 1.24 2002/09/07 15:12:53 chorns Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
 
 /* INCLUDES *****************************************************************/
 
-#include <ddk/ntddk.h>
-#include <internal/xhal.h>
+#include <ntoskrnl.h>
 
 #define NDEBUG
 #include <internal/debug.h>
 
+
 /* LOCAL MACROS and TYPES ***************************************************/
 
 #define  AUTO_DRIVE         ((ULONG)-1)
@@ -558,7 +558,7 @@ xHalIoAssignDriveLetters(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
 
   /* Assign cdrom drives */
   DPRINT("CD-Rom drives: %d\n", ConfigInfo->CDRomCount);
-  for (i = 0; i < ConfigInfo->CDRomCount; i++)
+  for (i = 0; i < ConfigInfo->CdRomCount; i++)
     {
       swprintf(Buffer1,
               L"\\Device\\CdRom%d",