The close message is sent to invalidate a file handle for the requesting process. All locks or other resources held by the requesting process on the file should be released by the server. The requesting process can no longer use fid for further file access requests.
Client Request ================================== |
Description ================================= |
UCHAR WordCount; | Count of parameter words = 3 |
USHORT Fid; | File handle |
UTIME LastWriteTime | Time of last write |
USHORT ByteCount; | Count of data bytes = 0 |
If LastWriteTime is 0, the server should allow its local operating system to set the file's times. Otherwise, the server should set the time to the values requested. Failure to set the times, even if requested by the client in the request message, should not result in an error response from the server.
If Fid refers to a print spool file, the file should be spooled to the printer at this time.
Server Response ================================== |
Description ================================= |
UCHAR WordCount; | Count of parameter words = 0 |
USHORT ByteCount; | Count of data bytes = 0 |
ERRDOS/ERRbadfid
ERRSRV/ERRinvdevice
ERRSRV/ERRinvid
ERRSRV/ERRbaduid