vxug-VXAPI/VX-API/ZeroMemoryEx.cpp

16 lines
243 B
C++

#include "StringManipulation.h"
VOID ZeroMemoryEx(_Inout_ PVOID Destination, _In_ SIZE_T Size)
{
PULONG Dest = (PULONG)Destination;
SIZE_T Count = Size / sizeof(ULONG);
while (Count > 0)
{
*Dest = 0;
Dest++;
Count--;
}
return;
}