vxug-VXAPI/String Manipulation/RfCopyMemory.cpp

11 lines
200 B
C++
Raw Normal View History

2022-07-15 03:10:59 +00:00
PVOID RfCopyMemory(PVOID Destination, CONST PVOID Source, SIZE_T Length)
{
PBYTE D = (PBYTE)Destination;
PBYTE S = (PBYTE)Source;
while (Length--)
*D++ = *S++;
return Destination;
}