FEQuickFileLength

Returns the length of a file opened with FEQuickOpen.

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

Syntax

   #include <nwfileng.h>  
    
   int FEQuickFileLength  (  
      LONG   connection,   
      LONG   handle,   
      LONG  *fileSize);
   

Parameters

connection

(IN) Specifies the connection for opening the file.

handle

(IN) Specifies the handle of the file to check.

fileSize

(OUT) Points to the size of the file.

Return Values

See Return Values for C for more information.

0

Success

NetWare errors

Remarks

FEQuickFileLength is designated "quick" because it bypasses some of the higher I/O levels in the server libraries.

FEQuickFileLength is useful only in conjunction with the File System Monitoring Hooks functions and other FEQuick functions.

See Also

FEQuickClose, FEQuickOpen, FEQuickRead, FEQuickWrite