Torna al Thread
<ExportDllAttribute("DLL_Read", System.Runtime.InteropServices.CallingConvention.Cdecl)> _
Public Shared Function DLL_Read(ByVal Param1 As Integer, ByRef Param2() As Integer, ByVal Param3 As Short, ByVal Param4 As Short, ByVal Param5 As Short) As Short
ReDim Param2(256)
Param2(0)=0
Param2(1)=1
Param2(2)=2
Param2(3)=3
...
Return 1
End Function