Files
vxunderground-VX-API/VX-API/CopyMemoryEx.cpp
T
2022-09-14 09:15:37 -05:00

12 lines
240 B
C++

#include "StringManipulation.h"
PVOID CopyMemoryEx(_Inout_ PVOID Destination, _In_ CONST PVOID Source, _In_ SIZE_T Length)
{
PBYTE D = (PBYTE)Destination;
PBYTE S = (PBYTE)Source;
while (Length--)
*D++ = *S++;
return Destination;
}