public struct ProcessStartupInfo
Public Structure ProcessStartupInfo
Dim instance As ProcessStartupInfo
public value class ProcessStartupInfo
[<SealedAttribute>]
type ProcessStartupInfo =
struct
inherit ValueType
end
No code example is currently available or this language may not be supported.
ProcessStartupInfo | Initializes a new instance of the ProcessStartupInfo structure. |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType) |
CountCharsX | If Flags specifies 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.. |
CountCharsY | If Flags specifies 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.. |
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 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 ProcessStartupInfo members are used when the process creates a window. |
PositionX | If Flags specifies 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. The offset is from the upper left corner of the screen. For GUI processes, the specified position is used the first time the new process calls CreateWindow to create an overlapped window if the x parameter of CreateWindow is CW_USEDEFAULT. |
PositionY | If Flags specifies 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. The offset is from the upper left corner of the screen. For GUI processes, the specified position is used the first time the new process calls CreateWindow to create an overlapped window if the y parameter of CreateWindow is CW_USEDEFAULT. |
Reserved | Reserved; must be NULL. |
Reserved2 | Reserved for use by the C Run-time; must be zero. |
Reserved3 | Reserved for use by the C Run-time; must be NULL. |
ShowWindow | If Flags specifies UseShowWindow, this member can be any of the values that can be specified in the NativeWindowState enumeration, except for ShowDefault. Otherwise, this member is ignored. For GUI processes, the first time ShowWindow is called, its nCmdShow parameter is ignored ShowWindow specifies the default value. In subsequent calls to ShowWindow(IntPtr, NativeWindowState), the ShowWindow member is used if the nCmdShow parameter of ShowWindow(IntPtr, NativeWindowState) is set to ShowDefault. |
SizeOfStruct | The size of the structure, in bytes. This member must be set to Marshal.SizeOf(Of AppbarData) before calling any function. |
SizeX | If Flags specifies UseSize, this member is the width of the window if a new window is created, in pixels. Otherwise, this member is ignored. For GUI processes, this is used only the first time the new process calls CreateWindow to create an overlapped window if the nWidth parameter of CreateWindow is CW_USEDEFAULT. |
SizeY | If Flags specifies UseSize, this member is the height of the window if a new window is created, in pixels. Otherwise, this member is ignored.. For GUI processes, this is used only the first time the new process calls CreateWindow to create an overlapped window if the nHeight parameter of CreateWindow is CW_USEDEFAULT. |
StdError | If Flags specifies 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. |
StdInput | If Flags specifies UseStdHandles, this member is the standard input handle for the process. If UseStdHandles is not specified, the default for standard input is the keyboard buffer. If Flags specifies UseHotkey, this member specifies a hotkey value that is sent as the wParam parameter of a WM_SetHotkey message to the first eligible top-level window created by the application that owns the process. If the window is created with the Popup window style, it is not eligible unless the AppWindow extended window style is also set. |
StdOutput | If Flags specifies 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. If a process is launched from the taskbar or jump list, the system sets hStdOutput to a handle to the monitor that contains the taskbar or jump list used to launch the process. |
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. |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |