Attribute VB_Name = "DFUDLL"

Public Const DEVICE_HAS_BEEN_IN_ISP As Long = &HE0000100
Public Const ANOTHER_DOWNLOAD_IS_RUNNING As Long = &HE0000101

Public Declare Function DFU_Reset_To_ISP Lib "DFU.DLL" (ByVal VID As Long, ByVal PID As Long) As Long
Public Declare Function DFU_Reset_To_AP Lib "DFU.DLL" () As Long
Public Declare Function DFU_Download Lib "DFU.DLL" (lpFW As Byte, ByVal Addr As Long, ByVal Size As Long, ByVal CheckSum As Long) As Long
Public Declare Function DFU_Get_ProcessCount Lib "DFU.DLL" () As Integer
