a) The value returned in CX is a valid protected mode selector, not a real mode segment address.
b) DOS/32 Advanced DPMI supports only first 16 exceptions. Calls to this function with value in BL greater than 0Fh, but less than 1Fh, will return CX:EDX = 0 (0000:00000000h).
c) DOS/32 Advanced DPMI does not handle exception 0Ch (Stack Fault).
d) DOS/32 Advanced DPMI will read exceptions 08-0Fh from an internal buffer, not from IDT, when PIC master is mapped on these interrupts (INTs 08-0Fh).