home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / ni_vb / nwconn.bas < prev    next >
BASIC Source File  |  1993-06-03  |  2KB  |  31 lines

  1. 'NWCONN.BAS  NetWare Connection Services Interface for Visual Basic For Windows
  2. 'Version 1.0
  3. 'Novell Systems Research Department, Novell, Inc.
  4. 'Copyright (c) 1993, Novell, Inc.
  5. 'This interface is not supported through Novell's regular
  6. 'support channels.  See README.TXT for more information.
  7.  
  8. Type DATE_AND_TIME
  9.     year As String * 1
  10.     month As String * 1
  11.     date As String * 1
  12.     hour As String * 1
  13.     minute As String * 1
  14.     second As String * 1
  15.     day As String * 1
  16. End Type
  17.  
  18. Declare Function AttachToFileServer Lib "NWNETAPI.DLL" (ByVal serverName$, connectionID%) As Integer
  19. Declare Function AttachToFileServerWithAddress Lib "NWNETAPI.DLL" (ByVal serverName$, connectionID%, ByVal netAddress) As Integer
  20. Declare Function DetachFromFileServer Lib "NWNETAPI.DLL" (ByVal connectionID%) As Integer
  21. Declare Function EnterLoginArea Lib "NWNETAPI.DLL" (ByVal loginSubdirectoryName$, ByVal numberOfLocalDrives%) As Integer
  22. Declare Function GetConnectionInformation Lib "NWNETAPI.DLL" (ByVal connectionNumber&, ByVal objectName$, objectType%, objectID&, loginTime As DATE_AND_TIME) As Integer
  23. Declare Function GetConnectionNumber Lib "NWNETAPI.DLL" () As Long
  24. Declare Function GetInternetAddress Lib "NWNETAPI.DLL" (ByVal connectionNumber&, networkNumber&, physicalNodeAddress As NodeAddress, socketNumber%) As Integer
  25. Declare Function GetObjectConnectionNumbers Lib "NWNETAPI.DLL" (ByVal objectName$, ByVal objectType%, numberOfConnections&, connectionList As Long, ByVal maxConnections&) As Integer
  26. Declare Function GetStationAddress Lib "NWNETAPI.DLL" (physicalNodeAddress As NodeAddress) As Integer
  27. Declare Function LoginToFileServer Lib "NWNETAPI.DLL" (ByVal objectName$, ByVal objectType%, ByVal objectPassword$) As Integer
  28. Declare Function Logout Lib "NWNETAPI.DLL" () As Integer
  29. Declare Function LogoutFromFileServer Lib "NWNETAPI.DLL" (ByVal connectionID%) As Integer
  30.  
  31.