MoveMemory复制内存。
函数原型:
voidMoveMemory(PVOID Destination, const VOID*Source, SIZE_T Length);
MoveMemory各参数意义:
(1)Destination:目的数据的地址;
(2)Source:来源数据的地址;
(3)Length:复制数据的字节数;
VB :
Declare Sub MoveMemory Lib "kernel32" Alias "RtlMoveMemory" (pDest As Any, pSource As Any, ByVal dwLength As Long)
'MoveMemory(pDest As Any, pSource As Any, ByVal dwLength As Long)
'MoveMemory参数意义:
'(1)pDest:目的数据的地址;
'(2)pSource:来源数据的地址;
'(3)dwLength:数据的字节数;