NWAFPRename(3nw)


NWAFPRename -- renames an AFP file

Synopsis

   #include <nwafp.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE NWAPI NWAFPRename (NWCONN_HANDLE conn, nuint16 volNum, nuint32 AFPSourceEntryID, nuint32 AFPDestEntryID, pnstr8 AFPSrcPath, pnstr8 AFPDstPath);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

volNum
(IN) Specifies the volume number of the directory entry location.

AFPSourceEntryID
(IN) Specifies the AFP source base ID.

AFPDestEntryID
(IN) Specifies the AFP destination base ID.

AFPSrcPath
(IN) Points to the AFP source directory path relative to AFPSourceEntryID.

AFPDstPath
(IN) Points to the AFP destination directory path, relative to AFPDestEntryID.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8984
NO_CREATE_PRIVILEGES

0x8988
INVALID_FILE_HANDLE

0x8983
IO_ERROR_NETWORK_DISK

0x898B
NO_RENAME_PRIVILEGES

0x898E
NO_FILES_AFFECTED_IN_USE

0x8990
NO_FILES_AFFECTED_READ_ONLY

0x8992
NO_FILES_RENAMED_NAME_EXISTS

0x8993
NO_READ_PRIVILEGES

0x8996
SERVER_OUT_OF_MEMORY

0x8998
VOLUME_DOES_NOT_EXIST

0x8999
DIRECTORY_FULL

0x899C
Invalid AFP Path String

0x899E
INVALID_FILENAME

0x89A1
DIRECTORY_IO_ERROR

0x89A2
READ_FILE_WITH_RECORD_LOCKED

0x89FD
BAD_STATION_NUMBER

0x89FF
NO_FILES_FOUND_ERROR

Services

AppleTalk Filing Protocol

NCP calls

0x2222 35 07 AFP Rename

References

NWNSRename(3nw), NWAFPGetEntryIDFromName(3nw),


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.