DOS Internal - Ioctl???

Entry:
AX = 122Bh
DS:SI -> ???
STACK: WORD ???
Return:
???
STACK unchanged

Notes: can be called only from within DOS switches critical error
stack, moves BP to AX, and calls IOCTL