Files
eversinc33-Banshee/Banshee/Vector.cpp
T
2025-05-03 21:42:00 +02:00

31 lines
545 B
C++

#include "Vector.hpp"
PVOID __cdecl operator new(SIZE_T size, POOL_TYPE Pool)
{
return ExAllocatePoolWithTag(Pool, size, DRIVER_TAG);
}
PVOID __cdecl operator new[](SIZE_T size, POOL_TYPE Pool)
{
return ExAllocatePoolWithTag(Pool, size, DRIVER_TAG);
}
VOID __cdecl operator delete(PVOID ptr, SIZE_T)
{
ExFreePool(ptr);
}
VOID __cdecl operator delete(PVOID ptr)
{
ExFreePool(ptr);
}
VOID __cdecl operator delete[](PVOID ptr, SIZE_T)
{
ExFreePool(ptr);
}
VOID __cdecl operator delete[](PVOID ptr)
{
ExFreePool(ptr);
}