vb6.0控制print接口

控件源代�a�M行�明:
Private Declare Function Inp Lib "inpout32.dll" Alias "Inp32" (ByVal PortAddress As Integer) As Integer
Private Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress As Integer, ByVal value As Integer)  //�{用inpout32.dll文件�M出���接口
 
�{用方法:
Public Function add(ByVal value As Integer)
Out &H378, Val(value)
End Function     //�入值�M行���控制
 
�{用方法add()就可以控制print接口
 

本文出自 “�嵫�王朝” 博客,谢绝转载!

你可能感兴趣的:(接口,生活,print,控制,休闲)