MoveMemory

MoveMemory

voidMoveMemory(PVOID Destin ation

基本簡介


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:數據的位元組數;