Removes recoverable files from a NetWare server
#include <nwdel.h>
or
#include <nwcalls.h>
NWCCODE N_API NWPurgeDeletedFile (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
nuint32 iterHandle,
nuint32 volNum,
nuint32 dirBase,
const nstr8 N_FAR *fileName);
uses calwin32
Function NWPurgeDeletedFile
(conn : NWCONN_HANDLE;
dirHandle : NWDIR_HANDLE;
iterHandle : nuint32;
volNum : nuint32;
dirBase : nuint32;
fileName : pnstr8
) : NWCCODE;
(IN) Specifies the NetWare server connection handle to purge.
(IN) Specifies the directory handle for the directory containing the file to purge (valid for 3.x and above only).
(IN) Specifies the sequence number returned by NWScanForDeletedFiles (valid for 3.x and above only).
(IN) Specifies the volume number returned by NWScanForDeletedFiles (valid for 3.11 and above only).
(IN) Specifies the directory base number returned by NWScanForDeletedFiles (valid for 3.11 and above only).
(IN) Points to the name of the file to purge (valid for 3.0 and 3.1 only).
These are common return values; see Return Values for C for more information.
For 3.x servers, only the specified file is purged.
For 3.x servers, NWPurgeDeletedFile is used in connection with NWScanForDeletedFiles. iterHandle, volNum, and dirBase are returned by NWScanForDeletedFiles and should not be modified prior to calling NWPurgeDeletedFile.
Although parameters may only be valid for some servers, each parameter must be filled. Valid parameters for NWPurgeDeletedFile on each platform are listed below: