Build autochk with NDK
Modified: trunk/reactos/include/ndk/zwtypes.h
Modified: trunk/reactos/subsys/system/autochk/autochk.c

Modified: trunk/reactos/include/ndk/zwtypes.h
--- trunk/reactos/include/ndk/zwtypes.h	2005-06-20 21:49:00 UTC (rev 16190)
+++ trunk/reactos/include/ndk/zwtypes.h	2005-06-20 21:50:02 UTC (rev 16191)
@@ -24,6 +24,15 @@
 
 #define EVENT_PAIR_ALL_ACCESS    (0x1F0000L)
 
+/* For ProcessDeviceMap */
+#define DOSDEVICE_DRIVE_UNKNOWN    0
+#define DOSDEVICE_DRIVE_CALCULATE  1
+#define DOSDEVICE_DRIVE_REMOVABLE  2
+#define DOSDEVICE_DRIVE_FIXED      3
+#define DOSDEVICE_DRIVE_REMOTE     4
+#define DOSDEVICE_DRIVE_CDROM      5
+#define DOSDEVICE_DRIVE_RAMDISK    6
+
 /* ENUMERATIONS **************************************************************/
 
 

Modified: trunk/reactos/subsys/system/autochk/autochk.c
--- trunk/reactos/subsys/system/autochk/autochk.c	2005-06-20 21:49:00 UTC (rev 16190)
+++ trunk/reactos/subsys/system/autochk/autochk.c	2005-06-20 21:50:02 UTC (rev 16191)
@@ -27,8 +27,9 @@
 
 /* INCLUDES *****************************************************************/
 
-#include <ntos.h>
-#include <napi/shared_data.h>
+#include <windows.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
 /* FUNCTIONS ****************************************************************/