Struct STARTUPINFO
- Namespace
- SunamoPInvoke.Structs
- Assembly
- SunamoPInvoke.dll
Specifies the window station, desktop, standard handles, and appearance of the main window for a process at creation time.
public struct STARTUPINFO
- Inherited Members
- Extension Methods
Fields
cb
The size of the structure, in bytes.
public int cb
Field Value
cbReserved2
Reserved for use by the C Runtime; must be zero.
public short cbReserved2
Field Value
dwFillAttribute
The initial text and background colors for a console window.
public int dwFillAttribute
Field Value
dwFlags
A bitfield that determines whether certain STARTUPINFO members are used when the process creates a window.
public int dwFlags
Field Value
dwX
The x offset of the upper left corner of a window, in pixels.
public int dwX
Field Value
dwXCountChars
The screen buffer width, in character columns, if a new console window is created.
public int dwXCountChars
Field Value
dwXSize
The width of the window, in pixels.
public int dwXSize
Field Value
dwY
The y offset of the upper left corner of a window, in pixels.
public int dwY
Field Value
dwYCountChars
The screen buffer height, in character rows, if a new console window is created.
public int dwYCountChars
Field Value
dwYSize
The height of the window, in pixels.
public int dwYSize
Field Value
hStdError
A handle to the standard error device for the process.
public nint hStdError
Field Value
hStdInput
A handle to the standard input device for the process.
public nint hStdInput
Field Value
hStdOutput
A handle to the standard output device for the process.
public nint hStdOutput
Field Value
lpDesktop
The name of the desktop, or the name of both the desktop and window station.
public string lpDesktop
Field Value
lpReserved
Reserved; must be NULL.
public string lpReserved
Field Value
lpReserved2
Reserved for use by the C Runtime; must be NULL.
public nint lpReserved2
Field Value
lpTitle
The title displayed in the title bar if a new console window is created.
public string lpTitle
Field Value
wShowWindow
Specifies the window show state. Can be any of the values that can be specified in the nCmdShow parameter.
public short wShowWindow