home *** CD-ROM | disk | FTP | other *** search
- 'NWAFP.BAS NetWare Apple Filing Protocol Services Interface for Visual Basic For Windows
- 'Version 1.0
- 'Novell Systems Research Department, Novell, Inc.
- 'Copyright (c) 1993, Novell, Inc.
- 'This interface is not supported through Novell's regular
- 'support channels. See README.TXT for more information.
-
- Type FILE_HANDLE
- handle As String * 6
- End Type
-
- Type AFP_FINDER_INFO
- info As String * 32 'defined in Apple documents
- End Type
-
- Type AFP_FILE_INFO
- entryID As Long
- parentID As Long
- attributes As Integer
- dataForkLength As Long
- resourceForkLength As Long
- numOffspring As Integer
- creationDate As Integer
- accessDate As Integer
- modifyDate As Integer
- modifyTime As Integer
- backupDate As Integer
- backupTime As Integer
- finderInfo As AFP_FINDER_INFO
- longname As String * 33
- pad1 As String * 1
- ownerID As Long
- shortName As String * 13
- pad2 As String * 1
- accessPrivileges As Integer
- End Type
-
- Type AFP_SET_INFO
- attributes As Integer
- creationDate As Integer
- accessDate As Integer
- modifyDate As Integer
- modifyTime As Integer
- backupDate As Integer
- backupTime As Integer
- finderInfo As AFP_FINDER_INFO
- End Type
-
- Declare Function AFPAllocTemporaryDirHandle Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, ByVal AFPPathString$, NetWareDirectoryHandle%, accessRights%) As Integer
- Declare Function AFPCreateDirectory Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, finderInfo As AFP_FINDER_INFO, ByVal AFPPathString$, newAFPEntryID&) As Integer
- Declare Function AFPCreateFile Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, ByVal deleteExistingFile%, ByVal finderInfo&, AFPPathString$, newAFPEntryID&) As Integer
- Declare Function AFPDelete Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, ByVal AFPPathString$) As Integer
- Declare Function AFPDirectoryEntry Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal directoryHandle%, ByVal pathName$) As Integer
- Declare Function AFPGetEntryIDFromName Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, ByVal AFPPathString$, newAFPEntryID&) As Integer
- Declare Function AFPGetEntryIDFromNetWareHandle Lib "NWNETAPI.DLL" (netWareHandle As FILE_HANDLE, volumeNum%, AFPEntryID&, forkIndicator%) As Integer
- Declare Function AFPGetEntryIDFromPathName Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal directoryHandle%, ByVal pathName$, AFPEntryID&) As Integer
- Declare Function AFPGetFileInformation Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, ByVal requestBitMap%, ByVal AFPPathString$, ByVal structSize%, AFPFileInfo As AFP_FILE_INFO) As Integer
- Declare Function AFPOpenFileFork Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, ByVal forkIndicator%, ByVal accessMode%, ByVal AFPPathString$, fileID&, forkLength&, netWareHandle%, fileHandle%) As Integer
- Declare Function AFPRename Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPSourceEntryID&, ByVal AFPDestEntryID&, ByVal AFPSourcePath$, ByVal AFPDestPath$) As Integer
- Declare Function AFPScanFileInformation Lib "NWNETAPI.DLL" (ByVal connectionID%, ByVal volumeNum%, ByVal AFPEntryID&, AFPLastSeenID&, ByVal searchBitMap%, ByVal requestBitMap%, ByVal AFPPath$, ByVal structSize%, AFPFileInfo As AFP_FILE_INFO) As Integer
- Declare Function AFPSetFileInformation Lib "NWNETAPI.DLL" (ByVal connection%, ByVal volumeNum%, ByVal AFPEntryID&, ByVal requestBitMap%, ByVal AFPPathString$, ByVal structSize%, AFPSetInfo As AFP_SET_INFO) As Integer
- Declare Function AFPSupported Lib "NWNETAPI.DLL" (ByVal connID%) As Integer
-
-