home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / ni_vb / nwsync.bas < prev    next >
BASIC Source File  |  1993-04-27  |  3KB  |  34 lines

  1. 'NWSYNC.BAS  NetWare Synchronization 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. Declare Function ClearFile Lib "NWNETAPI.DLL" (ByVal fileName$) As Integer
  9. Declare Function ClearFileSet Lib "NWNETAPI.DLL" () As Integer
  10. Declare Function ClearLogicalRecord Lib "NWNETAPI.DLL" (ByVal logicalRecordName$) As Integer
  11. Declare Function ClearLogicalRecordSet Lib "NWNETAPI.DLL" () As Integer
  12. Declare Function ClearPhysicalRecord Lib "NWNETAPI.DLL" (ByVal fileHandle%, ByVal recordStartOffset&, ByVal recordLength&) As Integer
  13. Declare Function ClearPhysicalRecordSet Lib "NWNETAPI.DLL" () As Integer
  14. Declare Function CloseSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&) As Integer
  15. Declare Function ExamineSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&, semaphoreValue%, openCount%) As Integer
  16. Declare Function GetLockMode Lib "NWNETAPI.DLL" () As Integer
  17. Declare Function LockFileSet Lib "NWNETAPI.DLL" (ByVal timeoutLimit%) As Integer
  18. Declare Function LockLogicalRecordSet Lib "NWNETAPI.DLL" (ByVal lockDirective%, ByVal timeoutLimit%) As Integer
  19. Declare Function LockPhysicalRecordSet Lib "NWNETAPI.DLL" (ByVal lockDirective%, ByVal timeoutLimit%) As Integer
  20. Declare Function LogFile Lib "NWNETAPI.DLL" (ByVal fileName$, ByVal lockDirective%, ByVal timeoutLimit%) As Integer
  21. Declare Function LogLogicalRecord Lib "NWNETAPI.DLL" (ByVal logicalRecordName$, ByVal lockDirective%, ByVal timeoutLimit%) As Integer
  22. Declare Function LogPhysicalRecord Lib "NWNETAPI.DLL" (ByVal fileHandle%, ByVal recordStartOffset&, ByVal recordLength&, ByVal lockDirective%, ByVal timeoutLimit%) As Integer
  23. Declare Function OpenSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreName$, ByVal initialValue%, semaphoreHandle&, openCount%) As Integer
  24. Declare Function ReleaseFile Lib "NWNETAPI.DLL" (ByVal fileName$) As Integer
  25. Declare Function ReleaeFileSet Lib "NWNETAPI.DLL" () As Integer
  26. Declare Function ReleaseLogicalRecord Lib "NWNETAPI.DLL" (ByVal logicalRecordName$) As Integer
  27. Declare Function ReleaseLogicalRecordSet Lib "NWNETAPI.DLL" () As Integer
  28. Declare Function ReleasePhysicalRecord Lib "NWNETAPI.DLL" (ByVal fileHandle%, ByVal recordStartOffset&, ByVal recordLength&) As Integer
  29. Declare Function ReleasePhysicalRecordSet Lib "NWNETAPI.DLL" () As Integer
  30. Declare Function SetLockMode Lib "NWNETAPI.DLL" (ByVal lockMode%) As Integer
  31. Declare Function SignalSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&) As Integer
  32. Declare Function WaitOnSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&, ByVal timeoutLimit%) As Integer
  33.  
  34.