NWSetCompressedFileLengths

Sets the uncompressed and compressed lengths of a file

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
Service:File System

Syntax

   #include <nwfinfo.h>  
    
   int NWSetCompressedFileLengths  (  
      int    handle,  
      LONG   uncompressedLength,  
      LONG   compressedLength ;
   

Parameters

handle

(IN) Specifies the handle of the file for which to set the lengths.

uncompressedLength

(IN) Specifies the length of the file in an uncompressed state.

compressedLength

(IN) Specifies the length of the file after being compressed.

Return Values

0x00

Success

0xFF

Failure

Remarks

NWSetCompressedFileLengths sets the compressed and uncompressed lengths of a file.

NWSetCompressedFileLengths is useful for restoring directory entry information about files that have previously been backed up.

The uncompressedLength parameter is the length normally seen in normal directory listings.

See Also

NWGetCompressedFileLengths