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.
Int 2FH, AX=4A05H, SI=0BH
Get last error
AX - last error
Function returns error code of last task