vxug-VXAPI/String Manipulation/RfCopyMemory.cpp
2022-07-14 22:10:59 -05:00

11 lines
200 B
C++

PVOID RfCopyMemory(PVOID Destination, CONST PVOID Source, SIZE_T Length)
{
PBYTE D = (PBYTE)Destination;
PBYTE S = (PBYTE)Source;
while (Length--)
*D++ = *S++;
return Destination;
}