Exec State Record
This structure is used in fn 4b05H (set execution state).
ExecStateRec
Offset Size Contents
▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+0 2 res reserved
+2 2 wTypeFlags 0=COM, 1=EXE, 2=COM overlay, 3=EXE overlay
+4 4 pfszProgName Address of ASCIIZ▲ program name
+6 2 wPspSeg Segment of the program's PSP
+8 4 lStartAddr 32-bit address of entry point (CS:IP)
+0aH 2 lProgSize 32-bit size of program, including PSP.
12 length of an ExecStateRec
See Also: Process Control Functions
PSP: Program Segment Prefix
DOS Environment
-♦-