#include <nwdentry.h> or #include <nwcalls.h>NWCCODE N_API NWIntScanDirEntryInfo (NWCONN_HANDLE conn, NWDIR_HANDLE dirHandle, nuint16 attrs, pnuint32 iterHandle, pnuint8 searchPattern, NWENTRY_INFO N_FAR entryInfo, nuint16 augmentFlag);
NWIntScanDirEntryInfo is replacing NWScanDirEntryInfo.
NWIntScanDirEntryInfo can be used reiteratively with wildcards. On the first call, iterHandle should point to -1. After that, the server manages the information. All scanning is complete when the server returns 0x89FF.
searchPattern cannot point to any path elements and dirHandle must index the complete path.
NWIntScanDirEntryInfo can also be used to scan for information about other directories, including the root directory. In this mode, dirHandle needs to index the root or a directory, and searchPattern needs to point to a NULL value.
NWIntScanDirEntryInfo works with DOS name space only. To scan using alternate name spaces, convert the path to DOS name space by calling either NWGetNSPath or NWScanNSEntryInfo. You can also scan the Mac name space using NWAFPScanFileInformation.
Possible attrs values follow:
C Value | Value Name |
---|---|
0x00 | FA_NORMAL |
0x02 | FA_HIDDEN |
0x04 | FA_SYSTEM |
0x10 | FA_DIRECTORY |
------------------------- | C Value| Value Name | |--------|---------------| | 0x00 | FA_NORMAL | |--------|---------------| | 0x02 | FA_HIDDEN | |--------|---------------| | 0x04 | FA_SYSTEM | |--------|---------------| | 0x10 | FA_DIRECTORY | |--------|---------------|
NWENTRY_INFO should be initialized to 0 before NWIntScanDirEntryInfo is called for the first time.
File Systems