Add NTDLL Common Header
Added: trunk/reactos/lib/ntdll/inc/
Added: trunk/reactos/lib/ntdll/inc/ntdll.h
Modified: trunk/reactos/lib/ntdll/ntdll.xml
_____
Added: trunk/reactos/lib/ntdll/inc/ntdll.h
--- trunk/reactos/lib/ntdll/inc/ntdll.h 2005-06-17 17:22:12 UTC (rev
15997)
+++ trunk/reactos/lib/ntdll/inc/ntdll.h 2005-06-17 17:22:19 UTC (rev
15998)
@@ -0,0 +1,36 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS System Libraries
+ * FILE: lib/ntdll/inc/ntdll.h
+ * PURPOSE: Native Libary Header
+ * PROGRAMMER: Alex Ionescu (alex(a)relsoft.net)
+ */
+
+/* INCLUDES
******************************************************************/
+
+/* SDK/DDK/NDK Headers. */
+#include <ddk/ntddk.h> /* FIXME: NDK */
+#include <ddk/ntifs.h> /* FIXME: NDK */
+#include <windows.h>
+#include <ntos/ldrtypes.h> /* FIXME: NDK */
+
+/* NTDLL Public Headers. FIXME: USE NDK */
+#include <ntdll/csr.h>
+#include <ntdll/rtl.h>
+#include <ntdll/ldr.h>
+#include <ntdll/ntdll.h>
+
+/* ROSRTL Headers */
+#include <rosrtl/string.h> /* FIXME: KILL ROSRTL */
+
+/* Helper Macros FIXME: NDK */
+#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b))
+#define ROUND_DOWN(N, S) ((N) - ((N) % (S)))
+#ifndef HIWORD
+#define HIWORD(l) ((WORD)(((DWORD)(l) >> 16) & 0xFFFF))
+#endif
+#ifndef LOWORD
+#define LOWORD(l) ((WORD)(l))
+#endif
+
+/* EOF */
_____
Modified: trunk/reactos/lib/ntdll/ntdll.xml
--- trunk/reactos/lib/ntdll/ntdll.xml 2005-06-17 17:22:12 UTC (rev
15997)
+++ trunk/reactos/lib/ntdll/ntdll.xml 2005-06-17 17:22:19 UTC (rev
15998)
@@ -1,6 +1,7 @@
<module name="ntdll" type="nativedll"
baseaddress="${BASEADDRESS_NTDLL}" installbase="system32"
installname="ntdll.dll">
<bootstrap base="reactos/system32" />
<importlibrary definition="def/ntdll.def" />
+ <include base="ntdll">inc</include>
<define name="__NTDLL__" />
<define name="_DISABLE_TIDENTS" />
<define name="__USE_W32API" />