MoveMemory

機能
メモリブロックをコピーする
Declare Sub MoveMemory Lib "kernel32.dll" Alias "RtlMoveMemory" _
(Destination As Any, Source As Any, ByVal Length As Long)
Declare Sub MoveMemory Lib "kernel32.dll" Alias "RtlMoveMemory" _
(Destination As Integer, Source As Integer, ByVal Length As Integer)

VOID MoveMemory (
PVOID Destination,
CONST VOID *Source,
SIZE_T Length
);
引数
Destination

コピー先メモリブロックのアドレス
Source
コピーするメモリブロックのアドレス
Length
コピーするバイト数
備考
MoveMemory()関数はメモリのポインタ制御に使用することが多い
サンプル
ダウンロード(MoveMemory.lzh 11.7KB)