1 /*++ 2 3 Copyright (c) Microsoft Corporation 4 5 ModuleName: 6 7 MxMemoryKm.h 8 9 Abstract: 10 11 Kernel mode implementation of memory 12 class defined in MxMemory.h 13 14 Author: 15 16 17 18 Revision History: 19 20 21 22 --*/ 23 24 #pragma once 25 26 #include "mxmemory.h" 27 28 __inline 29 PVOID 30 MxMemory::MxAllocatePoolWithTag( 31 __in POOL_TYPE PoolType, 32 __in SIZE_T NumberOfBytes, 33 __in ULONG Tag 34 ) 35 { 36 return ExAllocatePoolWithTag(PoolType, NumberOfBytes, Tag); 37 } 38 39 __inline 40 VOID 41 MxMemory::MxFreePool( 42 __in PVOID Ptr 43 ) 44 { 45 ExFreePool(Ptr); 46 } 47 48