[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Int 21 Fn 5F53 u - LAN Manager Enhanced DOS - Netserverenum2 [N]
AX = 5F53h
DS:SI -> NetServerEnum2 parameter structure (see below)
Return: CF clear if successful
BX = entries read
CX = total entries available
CF set on error
AX = error code
See Also: AX=5F4Ch
Format of NetServerEnum2 parameter structure:
Offset Size Description
00h WORD level (0000h or 0001h)
02h DWORD -> buffer as array of server_info_??? structures
06h WORD length of buffer
08h DWORD server type bitmask (see below)
0Ch DWORD -> Domain name (may be 0000h:0000h for all local domains)
Bitfields for server type:
bit 0 workstation
bit 1 server
bit 2 SQL server
bit 3 primary domain controller
bit 4 backup domain controller
bit 5 time server
bit 6 Apple File Protocol (AFP) server
bit 7 Novell server
bit 8 Domain Member (v2.1+)
bit 9 Print Queue server (v2.1+)
bit 10 Dialin server (v2.1+)
bit 11 Unix server (v2.1+)
Note: set all bits (FFFFFFFFh) for All Types
Format of server_info_0 structure:
Offset Size Description
00h 16 BYTEs name
Format of server_info_1 structure:
Offset Size Description
00h 16 BYTEs name
10h BYTE major version in lower nibble
11h BYTE minor version
12h DWORD server type (bits 0-11) (see above)
16h DWORD -> comment string
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson