Click or drag to resize
Xcalibur Systems LLC Logo

StartupInfo Structure

Specifies the window station, desktop, standard handles, and appearance of the main window for a process at creation time.

STARTUPINFO structure

Inheritance Hierarchy
SystemObject
  SystemValueType
    Xcalibur.NativeMethods.V2.ProcessesStartupInfo

Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public struct StartupInfo

The StartupInfo type exposes the following members.

Methods
 NameDescription
Public methodEquals
(Inherited from ValueType)
Public methodGetHashCode
(Inherited from ValueType)
Public methodGetType
(Inherited from Object)
Public methodToString
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldDesktop 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.
Public fieldFillAttribute 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.
Public fieldFlags 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.
Public fieldReserved Reserved; must be NULL.
Public fieldReserved2 Reserved for use by the C Run-time; must be zero.
Public fieldReserved2Handle Reserved for use by the C Run-time; must be NULL.
Public fieldShowWindow 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.
Public fieldSize The size of the structure, in bytes.
Public fieldStdErrorHandle 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.
Public fieldStdInputHandle 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.
Public fieldStdOutputHandle 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.
Public fieldTitle 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.
Public fieldX 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.
Public fieldXCountChars 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.
Public fieldXSize 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.
Public fieldY 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.
Public fieldYCountChars 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.
Public fieldYSize 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.
Top
See Also