INT 31H 0401H: Query DPMI Capabilities

                                                    Compatibility: DPMI 1.0+ 
 Expects: AX    0400H
          ──────────────────────────────────────────────────────────────────
 Returns: CF    NC (this fn always succeeds with DPMI 1.0+)
          AX    capability flags (see below)
          ES:DI (or ES:EDI) selector:offset of host version info
          ──────────────────────────────────────────────────────────────────
    Info: This obtains information about the capabilities supported by the
          DPMI host.

       AX contains bit flags:
           1
          ┌5┬ - ┬7┬6┬5┬4┬3┬2┬1┬0┐
          │0 ... 0│0│wzcdxa│
          └─┴ - ┴─┴╥┴╥┴╥┴╥┴╥┴╥┴╥┘bit  mask
                   ║ ║ ║ ║ ║ ║ ╚► 0: 0001H 1=page accessed/dirty supported
                   ║ ║ ║ ║ ║ ╚══► 1: 0002H 1=excptn. restartability suprtd
                   ║ ║ ║ ║ ╚════► 2: 0004H 1=conv. mem mapping supported
                   ║ ║ ║ ╚══════► 2: 0008H 1=device mapping supported
                   ║ ║ ╚════════► 2: 0010H 1=demand zero-fill supported
                   ║ ╚══════════► 2: 0020H 1=write-protect client supported
                   ╚════════════► 2: 0040H 1=write-protect host supported

 ES:(E)DI on return, points to a 128-byte buffer containing information
          about the DPMI host itself.  It is formatted as:

            Offset Size Contents
            ▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
             +0      1  bVerMaj     host major version #
             +1      1  vVerMin     host minor version #
             +2      n  szName      ASCIIZ host name
            2+n      ?              filler to end of record
                   128              size of this structure

    Note: See INT 2fH 1687H and INT 31H 0400H for related info.

See Also: DPMI API
          INT 2fH: Multiplex Interrupt
          DOS Functions
                                    -♦-