Attribute VB_Name = "DLPortIO"
Public Declare Function JSDIOInit Lib "jsioport.dll" () As Byte
Public Declare Sub JSDIOClose Lib "jsioport.dll" ()
Public Declare Function JSReadChar Lib "jsioport.dll" (ByVal Port As Integer) As Byte
Public Declare Function JSReadWord Lib "jsioport.dll" (ByVal Port As Integer) As Integer
Public Declare Function JSReadLong Lib "jsioport.dll" (ByVal Port As Integer) As Long
Public Declare Function JSReadIntelligentWord Lib "jsioport.dll" (ByVal Port As Integer, ByVal Index As Integer) As Integer
Public Declare Function JSReadIntelligentLong Lib "jsioport.dll" (ByVal Port As Integer, ByVal Index As Integer) As Long
Public Declare Sub JSWriteChar Lib "jsioport.dll" (ByVal Port As Integer, ByVal Data As Byte)
Public Declare Sub JSWriteWord Lib "jsioport.dll" (ByVal Port As Integer, ByVal Data As Long)
Public Declare Sub JSWriteLong Lib "jsioport.dll" (ByVal Port As Integer, ByVal Data As Long)
Public Declare Sub JSWriteIntelligentWord Lib "jsioport.dll" (ByVal Port As Integer, ByVal Index As Integer, ByVal Data As Integer)
Public Declare Sub JSWriteIntelligentLong Lib "jsioport.dll" (ByVal Port As Integer, ByVal Index As Integer, ByVal Data As Long)
Public Declare Function GetBitFrByte Lib "jsioport.dll" (ByVal Data As Byte, ByVal Bit As Byte) As Byte
Public Declare Function GetBitFrWord Lib "jsioport.dll" (ByVal Data As Integer, ByVal Bit As Byte) As Byte
Public Declare Function SetBitToByte Lib "jsioport.dll" (ByVal Data As Byte, ByVal Bit As Byte, ByVal OnOff As Byte) As Byte
Public Declare Function SetBitToWord Lib "jsioport.dll" (ByVal Data As Integer, ByVal Bit As Byte, ByVal OnOff As Byte) As Integer