Table of Contents

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

int

cbReserved2

Reserved for use by the C Runtime; must be zero.

public short cbReserved2

Field Value

short

dwFillAttribute

The initial text and background colors for a console window.

public int dwFillAttribute

Field Value

int

dwFlags

A bitfield that determines whether certain STARTUPINFO members are used when the process creates a window.

public int dwFlags

Field Value

int

dwX

The x offset of the upper left corner of a window, in pixels.

public int dwX

Field Value

int

dwXCountChars

The screen buffer width, in character columns, if a new console window is created.

public int dwXCountChars

Field Value

int

dwXSize

The width of the window, in pixels.

public int dwXSize

Field Value

int

dwY

The y offset of the upper left corner of a window, in pixels.

public int dwY

Field Value

int

dwYCountChars

The screen buffer height, in character rows, if a new console window is created.

public int dwYCountChars

Field Value

int

dwYSize

The height of the window, in pixels.

public int dwYSize

Field Value

int

hStdError

A handle to the standard error device for the process.

public nint hStdError

Field Value

nint

hStdInput

A handle to the standard input device for the process.

public nint hStdInput

Field Value

nint

hStdOutput

A handle to the standard output device for the process.

public nint hStdOutput

Field Value

nint

lpDesktop

The name of the desktop, or the name of both the desktop and window station.

public string lpDesktop

Field Value

string

lpReserved

Reserved; must be NULL.

public string lpReserved

Field Value

string

lpReserved2

Reserved for use by the C Runtime; must be NULL.

public nint lpReserved2

Field Value

nint

lpTitle

The title displayed in the title bar if a new console window is created.

public string lpTitle

Field Value

string

wShowWindow

Specifies the window show state. Can be any of the values that can be specified in the nCmdShow parameter.

public short wShowWindow

Field Value

short