1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS System Libraries 4 * FILE: lib/rtl/rtl.h 5 * PURPOSE: Run-Time Libary Header 6 * PROGRAMMER: Alex Ionescu 7 */ 8 9 #ifndef RTL_VISTA_H 10 #define RTL_VISTA_H 11 12 #undef _WIN32_WINNT 13 #undef WINVER 14 #define _WIN32_WINNT 0x600 15 #define WINVER 0x600 16 17 /* We're a core NT DLL, we don't import syscalls */ 18 #define _INC_SWPRINTF_INL_ 19 #undef __MSVCRT__ 20 21 /* C Headers */ 22 #include <stdlib.h> 23 #include <stdio.h> 24 25 /* PSDK/NDK Headers */ 26 #define WIN32_NO_STATUS 27 #define _INC_WINDOWS 28 #define COM_NO_WINDOWS_H 29 #define COBJMACROS 30 #define CONST_VTABLE 31 #include <windef.h> 32 #include <winbase.h> 33 #include <winreg.h> 34 #include <objbase.h> 35 #include <ntintsafe.h> 36 #include <ndk/exfuncs.h> 37 #include <ndk/iofuncs.h> 38 #include <ndk/kefuncs.h> 39 #include <ndk/ldrfuncs.h> 40 #include <ndk/mmfuncs.h> 41 #include <ndk/obfuncs.h> 42 #include <ndk/psfuncs.h> 43 #include <ndk/rtlfuncs.h> 44 #include <ndk/setypes.h> 45 #include <ndk/sefuncs.h> 46 #include <ndk/umfuncs.h> 47 48 /* SEH support with PSEH */ 49 #include <pseh/pseh2.h> 50 51 /* Use intrinsics for x86 and x64 */ 52 #if defined(_M_IX86) || defined(_M_AMD64) 53 #define InterlockedCompareExchange _InterlockedCompareExchange 54 #define InterlockedIncrement _InterlockedIncrement 55 #define InterlockedDecrement _InterlockedDecrement 56 #define InterlockedExchangeAdd _InterlockedExchangeAdd 57 #define InterlockedExchange _InterlockedExchange 58 #define InterlockedBitTestAndSet _interlockedbittestandset 59 #define InterlockedBitTestAndSet64 _interlockedbittestandset64 60 #endif 61 62 #endif /* RTL_VISTA_H */ 63