Int 21 Fn 4402 U - Pendos Pendev.sys - Get Entry Points [n]

AX = 4402h
BX = file handle for device "$$PENDOS" or "$$PD_REG"
CX = size of buffer (4 for $$PENDOS and a 4,8,12, or 16 for $$PD_REG)
DS:DX -> buffer for entry point record (see #1187)

Return: CF clear if successful
buffer filled
CF set on error
AX = error code (01h,05h,06h,0Dh) (see #1366 at AH=59h/BX=0000h)
Program: A limited version of PenDOS by Communication Intelligence Corporation,
which provides pen capability to keyboard-based programs, is bundled
with IBM DOS 6.1

See Also: AX=4403h"PENDEV.SYS"

Format of PENDEV.SYS entry point record:
Offset Size Description (Table 1187)
00h DWORD -> array of jumps
04h WORD offset of function to retrieve entry point (see #1188)
06h 2 BYTEs signature "Pe"
08h WORD offset of function to set entry point (see #1189)
0Ah 2 BYTEs signature "nD"
0Ch WORD offset of function to clear entry point (see #1190)
0Eh WORD signature "OS"

(Table 1188)
Call PENDEV.SYS function to retrieve entry point with:
AX = index of entry point (0-9)

Return: CF clear if successful
DX:AX -> desired entry point
CF set on error (AX out of range)

(Table 1189)
Call PENDEV.SYS function to set entry point with:
AX = index of entry point (0-9)
DX:SI -> new handler

Return: CF clear if successful
CF set on error (AX out of range)

(Table 1190)
Call PENDEV.SYS function to clear entry point with:
AX = index of entry point (0-9)

Return: CF clear if successful
CF set on error (AX out of range)

Note: resets the jump at the specified entry point to its default target,
which simply returns