📄 mc32_24.bas
字号:
Attribute VB_Name = "MC3224"
'************************ operate at24c01a ***************************
Declare Function swr_24c01a Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function srd_24c01a Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function chk_24c01a Lib "MWIC_32.dll" (ByVal icdev As Long) As Integer
'************************ operate at24c02 ***************************
Declare Function swr_24c02 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function srd_24c02 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function chk_24c02 Lib "MWIC_32.dll" (ByVal icdev As Long) As Integer
'************************ operate at24c04 ***************************
'************************ 通过 byref 传递参数**********************************
Declare Function swr_24c04 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByRef data_buffer As Byte) As Integer
Declare Function srd_24c04 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByRef data_buffer As Byte) As Integer
Declare Function chk_24c04 Lib "MWIC_32.dll" (ByVal icdev As Long) As Integer
'************************ operate at24c08 ***************************
Declare Function swr_24c08 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function srd_24c08 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function chk_24c08 Lib "MWIC_32.dll" (ByVal icdev As Long) As Integer
'************************ operate at24c16 ***************************
Declare Function swr_24c16 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function srd_24c16 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function chk_24c16 Lib "MWIC_32.dll" (ByVal icdev As Long) As Integer
'************************ operate at24c64 ***************************
Declare Function swr_24c64 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function srd_24c64 Lib "MWIC_32.dll" (ByVal icdev As Long, ByVal Offset As Integer, ByVal length As Integer, ByVal data_buffer$) As Integer
Declare Function chk_24c64 Lib "MWIC_32.dll" (ByVal icdev As Long) As Integer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -