Make your own free website on Tripod.com
Up ] Docs Home ]

Call IFSHLP.SYS entry point with

Back ] Next ]

Data:
STACK WORD function 00h (get ??? data)
Return:
DX:AX ??? data (see #01417)
BX - destroyed

Data:
STACK WORD function 01h (set interrupt intercepts (trap))
DWORD new intercept (trap) address
Return:
AX = status
0000h = successful
0001h = failed (already set)
DX = 0000h
BX - destroyed
Notes: The trap handler is called with a function number in BX, and the original BX on top of the stack; a null handler must perform a POP BX and an IRET.

Data:
STACK WORD function 02h (remove interrupt intercepts (untrap))
Return:
AX = status
0000h = successful
0001h = failed (already set)
DX = 0000h
BX - destroyed

Data:
STACK WORD function 03h (??? LPT2)
WORD ???
Return:
AX = status
0000h = successful
0001h = failed (already set)
DX = 0000h
BX - destroyed

Data:
STACK WORD function 04h (??? LPT1)
WORD ???
Return:
AX = status
0000h = successful
0001h = failed (already set)
DX = 0000h
BX - destroyed

Data:
STACK WORD function 05h (revector INT 2F to trap and remove trap for others)
???
Return:
BX - destroyed

Data:
STACK WORD function 06h (set ??? flag)
Return:
AX =
0001h - if already set
unchanged - if successful
DX =
0000h - if already set
unchanged - if successful
BX - destroyed

Data:
STACK WORD function 07h (clear ??? flag)
Return:
AX =
0001h - if not set
unchanged - if successful
DX =
0000h - if not set
unchanged - if successful
BX - destroyed

Data:
STACK WORD function 08h (get ??? flag word)
Return:
DX = 0000h
AX = flags
bit 0 : set/cleared by functions 06h and 07h
bit 1 : trap is currently set (refer to functions 01h/02h)
BX - destroyed

---Windows 3.11 only---

Data:
STACK WORD function 09h (???)
Return:
AX = status
0000h = successful
0001h = failed (already called)
BX - destroyed

---Windows 3.11 only---

Data:
STACK WORD function 0Ah (???)
WORD ???
???
Return:
BX - destroyed

---Windows 3.11 only---

Data:
STACK WORD function 0Bh (???)
Return:
AX = status
0000h = successful
0001h = failed (not set)
BX - destroyed

---Windows 3.11 only---

Data:
STACK WORD function 0Ch (get ???)
Return:
AX = 0000h
ES:BX ??? data

Data:
STACK WORD function > 0Ch
Return:
AX = 0001h
DX = 0000h
BX - destroyed