INT 21 - Novell NetWare - DIRECTORY SERVICES - SCAN DIRECTORY INFORMATION
AH = E2h subfn 02h
DS:SI -> request buffer (see below)
ES:DI -> reply buffer (see below)
Return: AL = status (00h,98h,9Bh,9Ch) (see AH=E2h/SF=00h)
Desc:   get information about the first or next subdirectory of the specified
directory
Note:   this function is supported by NetWare 4.0+, Advanced NetWare 1.0+, and
Alloy NTNX
SeeAlso: AH=E2h/SF=03h,AH=E2h/SF=19h

Format of request buffer:
Offset  Size    Description
00h    WORD    length of following data (max 104h)
02h    BYTE    02h (subfunction "Scan Directory Information")
03h    BYTE    directory handle
04h    WORD    subdirectory number (big-endian)
0000h for first call, returned subdir number + 1 on next call
06h    BYTE    length of directory path
07h  N BYTEs   directory path

Format of reply buffer:
Offset  Size    Description
00h    WORD    (call) 001Ch (length of following data buffer)
02h 16 BYTEs   subdirectory name
12h    DWORD   date and time of creation (big-endian) (see below)
16h    DWORD   object ID of owner (bid-endian)
1Ah    BYTE    maximum directory rights (see AH=E2h/SF=03h)
1Bh    BYTE    unused
1Ch    WORD    subdirectory number (big-endian)

Bitmask of date and time:
bits 31-25: year-1980
bits 24-21: month
bits 20-16: day
bits 15-11: hour
bits 10-5: minute
bits 4-0: second

See also: 21E2

21E2 - Novell NetWare - DIRECTORY SERVICES - SCAN DIRECTORY INFORMATION