Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21695

Copy functions

$
0
0
How do the below three differ?

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _
(Destination As Any,
Source As Any,
ByVal Length As Long)

Private Declare Sub CpyMem Lib "kernel32" Alias "RtlMoveMemory" _
(pDst As Any, _
pSrc As Any, _
ByVal cBytes As Long)

Private Declare Sub CopyPTRtoBYTES Lib "Kernel32.dll" Alias "RtlMoveMemory" _
(ByRef ByteDest As Byte, _
ByVal PtrSrc As Long, _
ByVal length As Long)

Viewing all articles
Browse latest Browse all 21695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>