NWAFPDelete
Deletes an AFP file or directory
#include <nwafp.h>
or
#include <nwcalls.h>
NWCCODE NWAPI NWAFPDelete (
NWCONN_HANDLE conn
nuint16 volNum,
nuint32 AFPEntryID,
const nstr8 N_FAR *AFPPathString);
uses calwin32
Function NWAFPDelete
(conn : NWCONN_HANDLE;
volNum : nuint16;
AFPEntryID : nuint32;
const AFPPathString : pnstr8
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
The directories to be deleted must be empty. Files to be deleted must be closed by all users.
For AFPPathString, byte 0 must be the length of the file name. The file name begins at byte 1 of the string. Include only the file name—not the full path name—when calling NWAFPDelete.