mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
23 lines
750 B
C
23 lines
750 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Console Driver
|
|
* FILE: drivers/base/condrv/heap.h
|
|
* PURPOSE: Heap Helpers
|
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define ConDrvAllocPoolNonPageable(Flags, Size, Tag) \
|
|
__pragma(message("WARNING - Flags parameter ignored. You may encounter problems!")) \
|
|
ExAllocatePoolWithTag(NonPagedPool, Size, Tag)
|
|
|
|
#define ConDrvAllocPoolPageable(Flags, Size, Tag) \
|
|
__pragma(message("WARNING - Flags parameter ignored. You may encounter problems!")) \
|
|
ExAllocatePoolWithTag(PagedPool, Size, Tag)
|
|
|
|
#define ConDrvFreePool(PoolBase, Tag) \
|
|
ExFreePoolWithTag(PoolBase, Tag)
|
|
|
|
/* EOF */
|