NWAFPGetEntryIDFromHandle(3nw)


NWAFPGetEntryIDFromHandle -- returns an AFP entry ID for the specified NetWare handle

Synopsis

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

NWCCODE NWAPI NWAFPGetEntryIDFromHandle (NWCONN_HANDLE conn, pnuint8 NWHandle, pnuint16 volNum, pnuint32 AFPEntryID, pnuint8 forkIndicator);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

NWHandle
(IN) Points to the 6-byte NetWare handle for the path name.

volNum
(OUT) Points to the volume number of the directory entry location.

AFPEntryID
(OUT) Points to the AFP file entry ID.

forkIndicator
(OUT) Points to the fork indicator (0 = data; 1 = resource).

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8988
INVALID_FILE_HANDLE

0x8998
VOLUME_DOES_NOT_EXIST

0x899C
INVALID_PATH

Notices

AFPEntryID points to the AFP file ID. It is not the AFP base ID. INVALID_PATH will be returned if you use the AFPEntryID as the AFP base ID.

Services

AppleTalk Filing Protocol

NCP calls

0x2222 35 06 AFP Get Entry ID From NetWare Handle

References

NWAFPGetEntryIDFromName(3nw), NWAFPGetEntryIDFromPathName(3nw), NWAFPGetFileInformation(3nw), NWAFPAllocTemporaryDirHandle(3nw),


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