Pointers
┌──────────┬──────┬──────┬────┬────────────────────────────┐│Field Name│Offset│Length│Type│Description │ ├──────────┼──────┼──────┼────┼────────────────────────────┤ │co_hconext│+0 │2 │W │Index of next Context Record│ ├──────────┼──────┼──────┼────┼────────────────────────────┤ │co_hobptda│+2 │2 │W │PTDA handle │ ├──────────┼──────┼──────┼────┼────────────────────────────┤ │co_fb │+4 │1 │B │Context record flags │ └──────────┴──────┴──────┴────┴────────────────────────────┘
co_fb flag definitions:
┌──────────┬────────┬────────────────────────────────┐ │Name │Bit Mask│Description │ ├──────────┼────────┼────────────────────────────────┤ │CO_CREATOR│0x01 │originating context │ ├──────────┼────────┼────────────────────────────────┤ │CO_PRIV │0x80 │Privatized context │ ├──────────┼────────┼────────────────────────────────┤ │CO_HCOH │0x20 │Next context record handle > 64k│ ├──────────┼────────┼────────────────────────────────┤ │CO_WRITE │0x02 │Write permission │ ├──────────┼────────┼────────────────────────────────┤ │CO_USER │0x04 │User storage │ ├──────────┼────────┼────────────────────────────────┤ │CO_EXEC │0x08 │Executable │ ├──────────┼────────┼────────────────────────────────┤ │CO_READ │0x10 │Read permission │ ├──────────┼────────┼────────────────────────────────┤ │CO_GUARD │0x40 │Guard page │ └──────────┴────────┴────────────────────────────────┘