Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System.Runtime.InteropServices
- Namespace DMS
- Public Module Connect
- <DllImport("C:\PromosNT17\bin\PMOSPIPE.dll")> _
- Public Function DMS_ConnectEx( _
- ByVal Pipename As String, _
- ByRef idx As Integer) _
- As Integer
- End Function
- End Module
- Public Module Disonnect
- <DllImport("C:\PromosNT17\bin\PMOSPIPE.dll")> _
- Public Function DMS_CloseEx( _
- ByVal idx As Integer) _
- As Integer
- End Function
- End Module
- Namespace Write
- Public Module Write
- <DllImport("C:\PromosNT17\bin\PMOSPIPE.dll")> _
- Public Function DMS_WriteBITEx( _
- ByVal idx As Integer, _
- ByVal DMS_Valuepath As String, _
- ByVal Value As Byte) _
- As Integer
- End Function
- End Module
- End Namespace
- Namespace Read
- Public Module Read
- <DllImport("C:\PromosNT17\bin\PMOSPIPE.dll")> _
- Public Function DMS_ReadBITEx( _
- ByVal idx As Integer, _
- ByVal DMS_Valuepath As String, _
- ByVal Value As Byte) _
- As Integer
- End Function
- End Module
- End Namespace
- End Namespace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement