Find all our projects in development below.
All source code is GNU General Public License (GPL)
Browsing vbdeclares.txt (648 B)
Private Declare Function GetTCPEndpoints lib "endpoints.dll" (ByVal lpOutput As String) As Long
Private Declare Function GetUDPEndpoints lib "endpoints.dll" (ByVal lpOutput As String) As Long
Private Declare Function GetTCPLocalPortInfo lib "endpoints.dll" (ByVal lLocalPort As Long, ByVal lpRemoteAddr As String, ByVal lpState As String, ByVal bNext As Long) As Long
Private Declare Function GetTCPRemotePortInfo lib "endpoints.dll" (ByVal lRemotePort As Long, ByVal lpRemoteAddr As String, ByVal lpState As String, ByVal bNext As Long) As Long
Example:
Dim s As String
s = String(1000, vbNullChar)
GetTCPEndpoints s
Text1.Text = s