mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Add libsupp.h for rtl's Kernel Allocation functions
svn path=/trunk/; revision=16116
This commit is contained in:
parent
38765d4930
commit
ef09428e85
1 changed files with 29 additions and 0 deletions
29
reactos/lib/rtl/libsupp.h
Normal file
29
reactos/lib/rtl/libsupp.h
Normal file
|
@ -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 */
|
Loading…
Reference in a new issue