FEQuickClose

Performs a quick close on a file on the local server

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

Syntax

   #include <nwfileng.h>  
    
   int FEQuickClose  (  
      LONG   connection,   
      LONG   task,   
      LONG   fileHandle); 
   

Parameters

connection

(IN) Specifies the connection closing the file.

task

(IN) Specifies task number on the connection closing the file.

fileHandle

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

Return Values

See Return Values for C for more information.

0

Success

NetWare errors

Remarks

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

FEQuickClose is useful only in conjunction with the File System Monitoring Hooks functions and other FEQuick . . . functions. The lower level handle used with FEQuickClose is returned in FEQuickOpen and is not valid for more conventional functions like read, write, or close.

See Also

FEQuickOpen, FEQuickFileLength, FEQuickRead, FEQuickWrite, NWAddFSMonitorHook, NWRemoveFSMonitorHook