(IN) Specifies the NetWare server connection handle.
dirHandle
(IN) Specifies the directory handle associated with the directory to
scan. Must point to the parent directory.
namSpc
(IN) Specifies the name space of dirHandle.
attr
(IN) Specifies the attributes to be used for the scan.
sequence
(IN/OUT) Points to SEARCH_SEQUENCE.
srchPattern
(IN) Points to the name of the entry for which to scan (wildcards are allowed).
retInfoMask
(IN) Specifies the information to return.
entryInfo
(OUT) Points to NW_ENTRY_INFO.
Return values
0x0000
SUCCESSFUL
0x8801
INVALID_CONNECTION
0x8998
VOLUME_DOES_NOT_EXIST
0x899B
BAD_DIRECTORY_HANDLE
0x899C
INVALID_PATH
Notices
NWScanNSEntryInfo can be used iteratively with wild cards. On
the first call, searchDirNumber in the SEARCH_SEQUENCE
structure should be set to -1. After that, the server manages the
information.
retInfoMask is used to determine which fields of
NW_ENTRY_INFO to return. nameLength and
entryName are always returned in NWScanNSEntryInfo.
To request information from a server, a client sets the appropriate bit
or bits of retInfoMask and sends a request packet to the server.
retInfoMask values follow: