Add libsupp.h for rtl's Kernel Allocation functions
authorAlex Ionescu <aionescu@gmail.com>
Sun, 19 Jun 2005 21:37:01 +0000 (21:37 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sun, 19 Jun 2005 21:37:01 +0000 (21:37 +0000)
svn path=/trunk/; revision=16116

reactos/lib/rtl/libsupp.h [new file with mode: 0644]

diff --git a/reactos/lib/rtl/libsupp.h b/reactos/lib/rtl/libsupp.h
new file mode 100644 (file)
index 0000000..e0deb12
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS System Libraries
+ * FILE:            lib/rtl/libsupp.h
+ * PURPOSE:         Run-Time Library Kernel Support Header
+ * PROGRAMMER:      Alex Ionescu
+ */
+
+/* INCLUDES ******************************************************************/
+
+#define TAG_RTL TAG('R','t', 'l', ' ')
+
+PVOID
+STDCALL
+ExAllocatePoolWithTag(
+    IN POOL_TYPE PoolType,
+    IN SIZE_T NumberOfBytes,
+    IN ULONG Tag
+);
+
+VOID
+STDCALL
+ExFreePool(
+    IN PVOID Pool
+);
+
+#define ExAllocatePool(p,n) ExAllocatePoolWithTag(p,n, TAG_RTL)
+
+/* EOF */