vxug-VXAPI/VX-API/CopyMemoryEx.cpp

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;
}