mirror of
https://github.com/eversinc33/Banshee
synced 2026-06-08 14:08:04 +00:00
31 lines
545 B
C++
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);
|
|
} |