NWAFPGetEntryIDFromPathName(3nw)
NWAFPGetEntryIDFromPathName --
returns a unique 32-bit AFP file or directory ID, given a combination of path and directory handle
Synopsis
#include <nwafp.h>
or
#include <nwcalls.h>
NWCCODE NWAPI NWAFPGetEntryIDFromPathName
(NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnstr8 path,
pnuint32 AFPEntryID);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare server connection handle.
- dirHandle
-
(IN) Specifies the directory handle for path.
- path
-
(IN) Points to the path given relative to the directory handle.
- AFPEntryID
-
(OUT) Points to the AFP base ID.
Return values
- 0x0000
-
SUCCESSFUL
- 0x8801
-
INVALID_CONNECTION
- 0x8983
-
IO_ERROR_NETWORK_DISK
- 0x8988
-
INVALID_FILE_HANDLE
- 0x8993
-
NO_READ_RRIVILEGES
- 0x8996
-
SERVER_OUT_OF_MEMORY
- 0x8998
-
VOLUME_DOES_NOT_EXIST
- 0x899B
-
BAD_DIRECTORY_HANDLE
- 0x899C
-
INVALID_PATH
- 0x89A1
-
DIRECTORY_IO_ERROR
- 0x89A2
-
READ_FILE_WITH_RECORD_LOCKED
- 0x89FD
-
BAD_STATION_NUMBER
- 0x89A1
-
DIRECTORY_IO_ERROR
- 0x89A1
-
DIRECTORY_IO_ERROR
- 0x89A1
-
DIRECTORY_IO_ERROR
- 0x89FF
-
NO_FILES_FOUND_ERROR
Notices
The directory base and path specifications must be given in DOS name space format.
Services
AppleTalk Filing Protocol
NCP calls
0x2222 35 12 AFP Get Entry ID From Path Name
References
NWAFPGetEntryIDFromHandle(3nw),
NWAFPGetEntryIDFromName(3nw),
NWAFPGetFileInformation(3nw),
NWAFPAllocTemporaryDirHandle(3nw),
NWAllocTempNSDirHandle(3nw),
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.