1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         ReactOS Kernel Streaming
4  * FILE:            drivers/wdm/audio/backpln/portcls/pool.cpp
5  * PURPOSE:         Memory functions
6  * PROGRAMMER:      Johannes Anderwald
7  */
8 
9 #include "private.hpp"
10 
11 PVOID
12 AllocateItem(
13     IN POOL_TYPE PoolType,
14     IN SIZE_T NumberOfBytes,
15     IN ULONG Tag)
16 {
17     return ExAllocatePoolZero(PoolType, NumberOfBytes, Tag);
18 }
19 
20 VOID
21 FreeItem(
22     IN PVOID Item,
23     IN ULONG Tag)
24 {
25     ExFreePoolWithTag(Item, Tag);
26 }
27