INT 21,5F AL=02 Get Redirection List Entry (DOS 3.1+)

AH = 5F

AL = 02

BX = redirection list index

DS:SI = far pointer to a 16 byte buffer to hold device name

ES:DI = far pointer to a 128 byte buffer to hold network name

on return:

AX = error code if CF is set

= 1 invalid function code

= 12 no more files

BH = device status flag,

bit 0 = 0 device valid

bit 0 = 1 device invalid

BL = device type

= 3 printer

= 4 drive

CX = stored parameter value

DS:SI = far pointer to ASCIIZ local device name

ES:DI = far pointer to ASCIIZ network name

- value returned in CX is the value previously passed to

INT 21,5F with subfunction 3 in register CX

- registers DX and BP are destroyed

- fails if file sharing is not loaded


Zurück zum Interrupt Info. Roger Morgan / 1998 L.Änderung 29.03.99