Format of OS/2 Virtual DOS Machine STARTDATA structure |
| Offset | Size | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
00h |
WORD |
length of structure (must be 0018h,001Eh,0020h,0032h,or 003Ch) | ||||||||||||||||||
|
02h |
WORD |
relation of new process to caller
|
||||||||||||||||||
|
04h |
WORD |
foreground/background
|
||||||||||||||||||
|
06h |
WORD |
trace options (00h-02h, 00h = no trace) | ||||||||||||||||||
|
08h |
DWORD |
pointer to ASCIZ program title (max 62 chars) or 0000h:0000h | ||||||||||||||||||
|
0Ch |
DWORD |
pointer to ASCIZ program name (max 128 chars) or 0000h:0000h | ||||||||||||||||||
|
10h |
DWORD |
pointer to ASCIZ program args (max 144 chars) or 0000h:0000h | ||||||||||||||||||
|
14h |
DWORD |
"TermQ" (currently reserved, must be 00000000h) | ||||||||||||||||||
|
18h |
DWORD |
pointer to environment (max 486 bytes) or 0000h:0000h | ||||||||||||||||||
|
1Ch |
WORD |
inheritance (00h or 01h) | ||||||||||||||||||
|
1Eh |
WORD |
session type
|
||||||||||||||||||
|
20h |
DWORD |
pointer to ASCIZ icon filename (max 128 chars) or 0000h:0000h | ||||||||||||||||||
|
24h |
DWORD |
"PgmHandle" (currently reserved, must be 00000000h) | ||||||||||||||||||
|
28h |
WORD |
"PgmControl" | ||||||||||||||||||
|
2Ah |
WORD |
initial column | ||||||||||||||||||
|
2Ch |
WORD |
initial row | ||||||||||||||||||
|
2Eh |
WORD |
initial width | ||||||||||||||||||
|
30h |
WORD |
initial height | ||||||||||||||||||
|
32h |
WORD |
reserved (0) | ||||||||||||||||||
|
34h |
DWORD |
"ObjectBuffer" (currently reserved, must be 00000000h) | ||||||||||||||||||
|
38h |
DWORD |
"ObjectBufferLen" (currently reserved, must be 00000000h) |