Scans the specified directory for any deleted (salvageable) files, using UTF-8 strings.
#include <nwdel.h>
or
#include <nwcalls.h>
NWCCODE N_API NWScanForDeletedFilesExt (
NWCONN_HANDLE conn,
NWDIR_HANDLE dirHandle,
pnuint32 iterHandle,
pnuint32 volNum,
pnuint32 dirBase,
NWDELETED_INFO_EXT N_FAR *entryInfo);
(IN) Specifies the NetWare server connection handle.
(IN) Specifies the directory handle of the directory to scan. This parameter cannot be zero.
(IN) Points to the address of the search sequence number. Must be initially set to -1.
(OUT) Points to the volume’s number index.
(OUT) Points to the directory’s number index.
(OUT) Points to NWDELETED_INFO_EXT, containing the deleted file information.
These are common return values; see Return Values for C for more information.
Initially, iterHandle needs to be set to -1. The server maintains the sequence number once a match has been found. No file names or wildcards are allowed in the search.
If iterHandle and entryInfo are NULL or dirHandle is zero, NWScanForDeletedFilesExt returns -1.
volNum and dirBase are indices used by the server to speed up the location of a deleted file. They should not be modified by an application.