Just code samples for VB and QB64 convertion. Not found something like this, so can be usefull.
sample #1
Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Long, Source As Long, ByVal Length As Long)
sample #2
Declare Function GetTickCount Lib "kernel32" () As Long
Pay attention! "as Long" transform to suffix "&"