📄 module1.bas
字号:
Attribute VB_Name = "Module1"
Option Explicit
'
'int WINAPI MCServer(int port, const char *qs, int second)
'// int port : 串口号;
'// int second: 等待时间,0为无限等待;
'// return : 0--成功;
'// -1--超时;
'// 1--fail to start communication;
'// 2--communication break;
'// 3--fail to end communication;
'// 11--fail to open file;
'// 12--record number format error;
'// 13--record type format error;
'// 14--record file end unexpected;
'// 21--fail to create file;
'// 22--record file format error;
'// 23--packet out of sequence;
'// 24--packet format error.
Declare Function MCServer Lib "c:\magcard.dll" (ByVal port As Integer, ByVal qs As String, ByVal second As Integer) As Integer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -