38ce211ad32aacf815997f8339248a2de806097e
[reactos.git] / reactos / lib / rtl / rtl.h
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 /* INCLUDES ******************************************************************/
10
11 /* PSDK/NDK Headers */
12 #include <windows.h>
13 #define NTOS_MODE_USER
14 #include <ndk/ntndk.h>
15
16 /* Helper Header */
17 #include <reactos/helper.h>
18
19 /* FIXME: Move this somewhere else, maybe */
20 #ifdef DBG
21 extern VOID FASTCALL CHECK_PAGED_CODE_RTL(char *file, int line);
22 #define PAGED_CODE_RTL() CHECK_PAGED_CODE_RTL(__FILE__, __LINE__)
23 #else
24 #define PAGED_CODE_RTL()
25 #endif
26
27 extern PVOID RtlpAllocateMemory(UINT Bytes, ULONG Tag);
28 extern VOID RtlpFreeMemory(PVOID Mem, ULONG Tag);
29
30 #define RtlpAllocateStringMemory RtlpAllocateMemory
31 #define RtlpFreeStringMemory RtlpFreeMemory
32
33 #define TAG_USTR TAG('U', 'S', 'T', 'R')
34 #define TAG_ASTR TAG('A', 'S', 'T', 'R')
35 #define TAG_OSTR TAG('O', 'S', 'T', 'R')
36
37 /* EOF */