Startup |
The StartupInfo type exposes the following members.
Name | Description | |
---|---|---|
Equals | (Inherited from ValueType) | |
GetHashCode | (Inherited from ValueType) | |
GetType | (Inherited from Object) | |
ToString | (Inherited from ValueType) |
Name | Description | |
---|---|---|
Desktop | The name of the desktop, or the name of both the desktop and window station for this process. A backslash in the string indicates that the string includes both the desktop and window station names. | |
FillAttribute | If Flags specifies STARTF_USEFILLATTRIBUTE, this member is the initial text and background colors if a new console window is created in a console application. Otherwise, this member is ignored. | |
Flags | A bitfield that determines whether certain members are used when the process creates a window. This member can be one or more of the following values. | |
Reserved | Reserved; must be NULL. | |
Reserved2 | Reserved for use by the C Run-time; must be zero. | |
Reserved2Handle | Reserved for use by the C Run-time; must be NULL. | |
ShowWindow | If Flags specifies STARTF_USESHOWWINDOW, this member can be any of the values that can be specified in the nCmdShow parameter for the ShowWindow function, except for SW_SHOWDEFAULT. Otherwise, this member is ignored. | |
Size | The size of the structure, in bytes. | |
StdErrorHandle | If Flags specifies STARTF_USESTDHANDLES, this member is the standard error handle for the process. Otherwise, this member is ignored and the default for standard error is the console window's buffer. | |
StdInputHandle | If Flags specifies STARTF_USESTDHANDLES, this member is the standard input handle for the process. If STARTF_USESTDHANDLES is not specified, the default for standard input is the keyboard buffer. | |
StdOutputHandle | If Flags specifies STARTF_USESTDHANDLES, this member is the standard output handle for the process. Otherwise, this member is ignored and the default for standard output is the console window's buffer. | |
Title | For console processes, this is the title displayed in the title bar if a new console window is created. If NULL, the name of the executable file is used as the window title instead. This parameter must be NULL for GUI or console processes that do not create a new console window. | |
X | If Flags specifies STARTF_USEPOSITION, this member is the x offset of the upper left corner of a window if a new window is created, in pixels. Otherwise, this member is ignored. | |
XCountChars | If Flags specifies STARTF_USECOUNTCHARS, if a new console window is created in a console process, this member specifies the screen buffer width, in character columns. Otherwise, this member is ignored. | |
XSize | If Flags specifies STARTF_USESIZE, this member is the width of the window if a new window is created, in pixels. Otherwise, this member is ignored. | |
Y | If Flags specifies STARTF_USEPOSITION, this member is the y offset of the upper left corner of a window if a new window is created, in pixels. Otherwise, this member is ignored. | |
YCountChars | If Flags specifies STARTF_USECOUNTCHARS, if a new console window is created in a console process, this member specifies the screen buffer height, in character rows. Otherwise, this member is ignored. | |
YSize | If Flags specifies STARTF_USESIZE, this member is the height of the window if a new window is created, in pixels. Otherwise, this member is ignored. |