#include <nwdentry.h> or #include <nwcalls.h>NWCCODE N_API NWIntScanExtendedInfo (NWCONN_HANDLE conn, NWDIR_HANDLE dirHandle, nuint8 attrs, pnuint32 iterHandle, pnstr8 searchPattern, NW_EXT_FILE_INFO N_FAR entryInfo, nuint16 augmentFlag);
NWIntScanExtendedInfo is replacing NWScanExtendedInfo.
NWIntScanExtendedInfo works only on files; it does not work on directories.
All scanning is complete when the server returns 0x89FF.
NWIntScanExtendedInfo is synonymous with NWIntScanDirEntryInfo and uses an extension of the information structure.
iterHandle should point to -1 for the first call.
attrs is used to include system and/or hidden files. In other words, if only the system bit is set in attrs, all files are affected except hidden files. If only the hidden bit is set, all files are affected except system files. When neither bit is set (0x00), only files designated either hidden or system are affected.
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 | |--------|---------------|
The extended file information contains the information returned by NWIntScanDirEntryInfo plus the sizes of the data and resource forks. Additionally, NWIntScanExtendedInfo returns the physical size of a file.
File Systems