Make your own free website on Tripod.com
Up ] Docs Home ]

Format of OS/2 Virtual DOS Machine STARTDATA structure

Back ] Next ]

Offset Size Description

00h

WORD

length of structure (must be 0018h,001Eh,0020h,0032h,or 003Ch)

02h

WORD

relation of new process to caller
00h = independent
01h = child

04h

WORD

foreground/background
00h = foreground
01h = 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
00h = OS/2 session manager determines type (default)
01h = OS/2 full-screen
02h = OS/2 window
03h = PM
04h = VDM full-screen
07h = VDM window

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)