Call we use is same a yours:
Declare Function BTRCALL Lib "w3btrv7.dll" (ByVal Opcode As Short, _
ByVal Cursor() As Byte, _
ByVal DataBuffer As IntPtr, _
ByRef DataBufferLength As Short, _
ByVal KeyBuffer() As Byte, _
ByVal KeyLength As Short, _
ByVal KeyNum As Short) As Short
We have created...