Erases the specified files from the server
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWDeleteNSEntry (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
const nstr8 N_FAR *fileName,
nuint8 nameSpace,
nuint16 searchAttr);
uses calwin32
Function NWDeleteNSEntry
(conn : NWCONN_HANDLE;
dirHandle : NWDIR_HANDLE;
const fileName : pnstr8;
nameSpace : nuint8;
searchAttr : nuint16
) : NWCCODE;
(IN) Specifies the NetWare connection handle.
(IN) Specifies the directory handle on which files to be deleted currently reside.
(IN) Points to an absolute path (or relative if dirHandle is non-zero) that cannot exceed 255 characters in length.
(IN) Specifies the name space of dirHandle/filePath (see Section 20.5, Name Space Flag Values).
(IN) Specifies the file attributes to use in finding the file (see Section 20.8, Search Attributes Values).
These are common return values; see Return Values (Return Values for C) for more information.
dirHandle must exist in the designated name space.
If a file has the immediate purge attribute set, the file cannot be recovered.