⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 easypod.bas

📁 Megawin Full Speed USB基於HID類別的WINDOWS控制源程序
💻 BAS
字号:
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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -