FEGetEntryVersion

Returns the version number for a directory entry (files or directories)

Local Servers:blocking
Remote Servers:N/A
NetWare Server:4.x, 5.x, 6.x
Platform:NLM
Service:File Engine

Syntax

   #include <nwfileng.h>  
    
   LONG FEGetEntryVersion  (  
      LONG    volumeNumber,   
      LONG    directoryNumber,   
      BYTE   *pathString,   
      LONG    pathCount,   
      WORD   *version); 
   

Parameters

volumeNumber

(IN) Specifies the volume number on which the entry is located.

directoryNumber

(IN) Specifies the directory number used by the directory entry.

pathString

(IN) Points to a NetWare style path string relative to the volume/directory number. This is the name of the directory entry.

pathCount

(IN) Specifies the number of elements in the path string.

version

(OUT) Points to the version number for the entry.

Return Values

See Return Values for C for more information.

0

(0x00)

Success

255

(0xFF)

Failure

Remarks

This function returns the version number for a specified directory entry. The version number of a directory entry is incremented once each time the entry is modified.

See Also

readdir, stat