NWAFPGetEntryIDFromName

Returns a unique AFP entry ID from an AFP entry ID of a parent and a modifying path

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:AFP

Syntax

  #include <nwafp.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE NWAPI NWAFPGetEntryIDFromName ( 
     NWCONN_HANDLE        conn,  
     nuint16              volNum,  
     nuint32              AFPEntryID,  
     const nstr8 N_FAR   *AFPPathString,  
     pnuint32             newAFPEntryID);
  

Delphi Syntax

  uses calwin32 
   
  Function NWAFPGetEntryIDFromName   
    (conn : NWCONN_HANDLE; 
     volNum : nuint16; 
     AFPEntryID : nuint32; 
     const AFPPathString : pnstr8; 
     newAFPEntryID : pnuint32 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
volNum
(IN) Specifies the volume number of the directory entry location.
AFPEntryID
(IN) Specifies the unique AFP base ID.
AFPPathString
(IN) Points to the path string modifying AFPEntryID.
newAFPEntryID
(OUT) Points to the AFP entry ID of the given path.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x8988

INVALID_FILE_HANDLE

0x8983

IO_ERROR_NETWORK_DISK

0x8993

NO_READ_RRIVILEGES

0x8996

SERVER_OUT_OF_MEMORY

0x899C

INVALID_PATH

0x8998

VOLUME_DOES_NOT_EXIST

0x899C

INVALID_PATH

0x89A1

DIRECTORY_IO_ERROR

0x89A2

READ_FILE_WITH_RECORD_LOCKED

0x89FD

BAD_STATION_NUMBER

0x89FF

NO_FILES_FOUND_ERROR

NCP Calls

See Also

NWAFPGetEntryIDFromHandle, NWAFPGetEntryIDFromPathName