Share via


STARTUPINFO

5/10/2007

This structure is used with the CreateProcess function to specify the main window properties for a new window created for a new process. The following table shows the values available in the STARTUPINFO structure.

Value Description

DWORD

ExpandMode

STRING

Desktop_name

DWORD

ExpandMode

STRING

title_string

DWORD

X_loc

DWORD

Y_loc

DWORD

X_size

DWORD

Y_size

DWORD

X_CountChars

DWORD

Y_CountChars

DWORD

FillAttributes:

DAFOREGROUND_BLUE = 1

DAFOREGROUND_GREEN = 2

DAFOREGROUND_RED = 4

DAFOREGROUND_INTENSITY = 8

DABACKGROUND_BLUE = 16

DABACKGROUND_GREEN = 32

DABACKGROUND_RED = 64

DABACKGROUND_INTENSITY = 128

Bb499330.note(en-US,WinEmbedded.5).gifNote:
To use values together, they should be combined by using OR.

DWORD

Flags:

DASTARTF_USESHOWWINDOW = 1

DASTARTF_USESIZE = 2

DASTARTF_USEPOSITION = 4

DASTARTF_USECOUNTCHARS = 8

DASTARTF_USEFILLATTRIBUTE = 16

DASTARTF_RUNFULLSCREEN = 32

DASTARTF_FORCEONFEEDBACK = 64

DASTARTF_FORCEOFFFEEDBACK = 126

DASTARTF_USESTDHANDLES = 256

DASTARTF_USEHOTKEY = 512

Bb499330.note(en-US,WinEmbedded.5).gifNote:
To use values together, they should be combined by using OR.

DWORD

ShowWindows

DWORD

ExpandMode

STRING

StdInStream

DWORD

ExpandMode

STRING

StdOutStream

DWORD

ExpandMode

STRING

StdErrStream

See Also

Concepts

Constants