STARTUPINFO

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

Note   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

Note   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

Constants

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.