Attribute VB_Name = "Module1"

Public Type MW_EasyPOD
    VID As Long
    PID As Long
    ReadTimeOut As Long
    WriteTimeOut As Long
    Handle As Long              ' Do not modify this value, reserved for DLL
    FeatureReportSize As Long   ' Do not modify this value, reserved for DLL
    InputReportSize As Long     ' Do not modify this value, reserved for DLL
    OutputReportSize As Long    ' Do not modify this value, reserved for DLL
End Type

Public Declare Function ConnectPOD Lib "EasyPOD.DLL" (ByRef m_EasyPod As MW_EasyPOD, ByVal Index As Long) As Long
Public Declare Function DisconnectPOD Lib "EasyPOD.DLL" (ByRef m_EasyPod As MW_EasyPOD) As Long
Public Declare Function WriteData Lib "EasyPOD.DLL" (ByRef m_EasyPod As MW_EasyPOD, lpString As Byte, ByVal lToWrite As Long, lWritten As Long) As Long
Public Declare Function ReadData Lib "EasyPOD.DLL" (ByRef m_EasyPod As MW_EasyPOD, lpString As Byte, ByVal lToRead As Long, lRead As Long) As Long
Public Declare Function ClearPODBuffer Lib "EasyPOD.DLL" (ByRef m_EasyPod As MW_EasyPOD) As Long
