please dont rip this site

Int 21/AX=5F46h

LAN Manager Enhanced DOS - LOCAL NetUseEnum

AX = 5F46h
BX = level (0000h or 0001h)
CX = size of buffer
ES:DI -> buffer of use_info_0 or use_info_1 structures
(see #01717,#01718)
Return:
CF clear if successful CX = entries read DX = total available entries CF set if error AX = error code

See Also: AX=5F47h - AX=5F48h - AX=5F4Ch


Format of LAN Manager use_info_0 structure:

Offset  Size    Description     (Table 01717)
00h  9 BYTEs   local device name
09h    BYTE    padding
0Ah    DWORD   -> remote device name in UNC form \\server\share

See Also: #01718


Format of LAN Manager use_info_1 structure:

Offset  Size    Description     (Table 01718)
00h  9 BYTEs   Local device name
09h    BYTE    padding
0Ah    DWORD   -> remote device name in UNC form \\server\share
0Eh    DWORD   -> password
12h    WORD    network link status
(00h OK, 02h disconnected, else unsure)
14h    WORD    use type (-1 wildcard, 0 disk, 1 print, 2 com, 3 ipc)
16h    WORD    ignored
18h    WORD    ignored

See Also: #01717

-u100
11AE:0100 B45F          MOV     AH,5F
11AE:0102 B046          MOV     AL,46
11AE:0104 BB0000        MOV     BX,0000
11AE:0107 B9FF00        MOV     CX,00FF
11AE:010A BA0000        MOV     DX,0000
11AE:010D BF0002        MOV     DI,0200
11AE:0110 CD21          INT     21
11AE:0112 C3            RET
11AE:0113 8B36D7E2      MOV     SI,[E2D7]
11AE:0117 56            PUSH    SI
11AE:0118 33ED          XOR     BP,BP
11AE:011A AC            LODSB
11AE:011B 0A34          OR      DH,[SI]
11AE:011D 009D11EB      ADD     [DI+EB11],BL
-rip
IP 0112
:100
-g,112

AX=00EA  BX=0000  CX=0009  DX=000B  SP=FFEE  BP=0000  SI=0000  DI=0200
DS=11AE  ES=11AE  SS=11AE  CS=11AE  IP=0112   NV UP EI PL NZ NA PO CY
11AE:0112 C3            RET
-d200
11AE:0200  46 3A 00 45 57 41 59 2D-50 00 F3 02 AE 11 48 3A   F:.EWAY-P.....H:
11AE:0210  00 06 3D E7 43 71 EB 00-EA 02 AE 11 49 3A 00 81   ..=.Cq......I:..
11AE:0220  3C 5C 5C 74 02 00 DD 02-AE 11 4B 3A 00 F2 AE F7   <\\t......K:....
11AE:0230  D1 B0 5C 00 D0 02 AE 11-4C 50 54 32 00 F2 AE 4F   ..\.....LPT2...O
11AE:0240  32 00 BD 02 AE 11 4C 50-54 33 00 A0 71 33 C9 00   2.....LPT3..q3..
11AE:0250  AA 02 AE 11 4C 50 54 34-00 96 2E C7 06 00 96 02   ....LPT4........
11AE:0260  AE 11 4C 50 54 35 00 47-2E C7 06 00 88 02 AE 11   ..LPT5.G........
11AE:0270  4C 50 54 36 00 43 32 C0-5B 00 00 00 00 00 71 2E   LPT6.C2.[.....q.
-d
11AE:0280  80 3E DB E2 00 75 06 E8-5C 5C 53 43 38 32 32 31   .>...u..\\SC8221
11AE:0290  38 34 5C 50 32 00 5C 5C-50 52 4E 2D 46 41 52 4D   84\P2.\\PRN-FARM
11AE:02A0  2D 52 49 47 48 54 5C 50-33 00 5C 5C 50 52 4E 2D   -RIGHT\P3.\\PRN-
11AE:02B0  46 41 52 4D 2D 4C 45 46-54 5C 50 32 00 5C 5C 50   FARM-LEFT\P2.\\P
11AE:02C0  52 4E 2D 46 41 52 4D 2D-4C 45 46 54 5C 50 33 00   RN-FARM-LEFT\P3.
11AE:02D0  5C 5C 4E 54 5C 53 32 31-44 49 53 4B 00 5C 5C 4E   \\NT\S21DISK.\\N
11AE:02E0  54 32 5C 4E 54 32 57 45-42 00 5C 5C 4E 54 5C 57   T2\NT2WEB.\\NT\W
11AE:02F0  45 42 00 5C 5C 4E 54 33-5C 46 49 4C 45 53 00 B4   EB.\\NT3\FILES..


file: /Techref/int/21f/5Fsf/46.htm, 3KB, , updated: 2004/5/28 15:11, local time: 2024/11/22 23:10,
TOP NEW HELP FIND: 
18.220.242.160:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/int/21f/5Fsf/46.htm"> Int 21 /AX= 5F 46h </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .