2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS System Libraries
5 * PURPOSE: Run-Time Libary Header
6 * PROGRAMMER: Alex Ionescu
9 /* INCLUDES ******************************************************************/
11 /* We're a core NT DLL, we don't import syscalls */
18 /* PSDK/NDK Headers */
20 #define NTOS_MODE_USER
21 #include <ndk/ntndk.h>
24 #include <reactos/helper.h>
26 /* FIXME: Move this somewhere else, maybe */
28 extern VOID FASTCALL
CHECK_PAGED_CODE_RTL(char *file
, int line
);
29 #define PAGED_CODE_RTL() CHECK_PAGED_CODE_RTL(__FILE__, __LINE__)
31 #define PAGED_CODE_RTL()
34 extern PVOID
RtlpAllocateMemory(UINT Bytes
, ULONG Tag
);
35 extern VOID
RtlpFreeMemory(PVOID Mem
, ULONG Tag
);
36 extern KPROCESSOR_MODE
RtlpGetMode();
38 #define RtlpAllocateStringMemory RtlpAllocateMemory
39 #define RtlpFreeStringMemory RtlpFreeMemory
41 #define TAG_USTR TAG('U', 'S', 'T', 'R')
42 #define TAG_ASTR TAG('A', 'S', 'T', 'R')
43 #define TAG_OSTR TAG('O', 'S', 'T', 'R')