NWAFPDirectoryEntry(3nw)
NWAFPDirectoryEntry --
tests a directory entry to see if it is an AFP file
Synopsis
#include <nwafp.h>
or
#include <nwcalls.h>
NWCCODE NWAPI NWAFPDirectoryEntry
(NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnstr8 path);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare server connection handle.
- dirHandle
-
(IN) Specifies the directory handle for the path name.
- path
-
(IN) Points to the path relative to dirHandle.
Return values
- 0x0000
-
DOS File
- 0x0001
-
Mac File
- 0x8801
-
INVALID_CONNECTION
- 0x8983
-
IO_ERROR_NETWORK_DISK
- 0x8988
-
INVALID_FILE_HANDLE
- 0x8993
-
NO_READ_PRIVILEGES
- 0x8996
-
SERVER_OUT_OF_MEMORY
- 0x899C
-
INVALID_PATH
- 0x89A2
-
READ_FILE_WITH_RECORD_LOCKED
Notices
dirHandle and path must be given in DOS name space format.
Services
AppleTalk Filing Protocol
NCP calls
0x2222 22 5 Get Volume Number
0x2222 22 21 Get Volume Info With Handle
0x2222 23 17 Get File Server Information
0x2222 23 22 Get Station's Logged Info (old)
0x2222 23 28 Get Station's Logged Info
0x2222 35 12 AFP Get Entry ID From Path Name
0x2222 35 15 AFP 2.0 Get File
0x2222 87 06 Obtain File or Subdirectory Information
0x2222 104 1 Ping for NDS NCP
References
NWAFPGetEntryIDFromPathName(3nw),
NWGetVolumeInfoWithHandle(3nw),
NWGetVolumeNumber(3nw),
NWAFPGetFileInformation(3nw),
NWGetOwningNameSpace(3nw),
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.