11 lines
188 B
C
11 lines
188 B
C
PVOID CopyMemory(PVOID Destination, CONST PVOID Source, SIZE_T Length)
|
|
{
|
|
PBYTE D = (PBYTE)Destination;
|
|
PBYTE S = (PBYTE)Source;
|
|
|
|
while (Length--)
|
|
*D++ = *S++;
|
|
|
|
return Destination;
|
|
}
|