Note: This API calls are shared between DOS and Win16 personality.
DOSSHELL is a stripped down version of 16-bit Windows. Some APIs shared and same. DOSSHELL uses older version of API, but Win16 has more advanced APIs.
?
Get switcher control data
None
DX:AX - Switcher control data
Function returns switcher control data
Format is following:
| Offset | Description |
|---|---|
| 0 | Switcher id? |
| 1 | unknown |
| 5 | Command line params |
| 135 | unknown |
| 292 | Current task id |
| 294 | Last ERRORLEVEL |
| 296 | Unknown |
| 301 | Number of entries |
| 302 | First entrie num |
| 303 | Entrie 1 |
| 385 | Entrie 2 |
| 467 | Entrie 3 |
| … | … |
By default 16 entries
Each entrie consist of
| Offset | Description |
|---|---|
| 0 | Name |
| 80 | Flags |