Add NTDLL Common Header

svn path=/trunk/; revision=15998
This commit is contained in:
Alex Ionescu 2005-06-17 17:22:19 +00:00
parent 46794424c7
commit 5e400ded46
2 changed files with 37 additions and 0 deletions

View file

@ -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@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 */

View file

@ -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" />