Userlib - byte parameters

BlitzPlus Forums/BlitzPlus Programming/Userlib - byte parameters

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I want to use a Comm DLL that has the following functions that use byte size parameters. How do I translate the VB declares below into a Blitzplus Userlib.decls file. To I need to use a void (*) for the byte parameters and pass a bank to the dll?

//Paste these declarations into your VB code...
//
//Declare Sub esInitUART Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal iBaud As Integer, ByVal iParity As Byte, ByVal iBits As Byte, ByVal iStop As Byte)
//Declare Function esTxByte Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal iByte As Byte) As Byte
//Declare Function esRxByte Lib "EZSerial.dll" (ByVal iPort As Integer, ByVal ParityChar As Byte) As Byte
//Declare Function esWaitforTxReady Lib "EZSerial.dll" (ByVal iPort As Integer) As Boolean
//Declare Function esRxReady Lib "EZSerial.dll" (ByVal iPort As Integer) As Boolean