UpdateDirectoryEntry

Updates a directory entry

Local Servers:blocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
SMP Aware:No
Service:File System

Syntax

   #include <nwdir.h> 
    
    int UpdateDirectoryEntry (  
       int   handle);
   

Parameters

handle

(IN) Specifies a file handle obtained from an open or creat.

Return Values

Value

Hex

Constant

0

(0x00)

ESUCCESS

NetWare Error

UNSUCCESSFUL

Remarks

This function updates the target file’s file entry in the directory table with the current file size, current date and time, and File Allocation Table (FAT) chain information. The updated information is not actually written to disk until sometime after the function returns.