Udostępnij za pośrednictwem


DkmProcessStartupInfo Class

Definition

Additional information used to launch a new process. This information is contained within the 'STARTUPINFO' structure in Win32.

public ref class DkmProcessStartupInfo
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmProcessStartupInfo
[Windows::Foundation::Metadata::WebHostHidden]
class DkmProcessStartupInfo
[System.Runtime.InteropServices.Guid("9e5881db-f4be-b1eb-2ba5-ed18f73a7979")]
public class DkmProcessStartupInfo
[<System.Runtime.InteropServices.Guid("9e5881db-f4be-b1eb-2ba5-ed18f73a7979")>]
type DkmProcessStartupInfo = class
Public Class DkmProcessStartupInfo
Inheritance
DkmProcessStartupInfo
Attributes

Properties

Desktop

[Optional] 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. For more information, see Thread Connection to a Desktop.

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

'STARTF_*' flags for this request. More information can be found in Win32 documentation under 'STARTUPINFO.dwFlags'.

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.

StdErrorHandle

If 'Flags' specifies STARTF_USESTDHANDLES, this member is the standard error handle for the process. Otherwise, this value should be zero.

StdInputHandle

If 'Flags' specifies STARTF_USESTDHANDLES, this member is the standard input handle for the process. Otherwise, this value should be zero.

StdOutputHandle

If 'Flags' specifies STARTF_USESTDHANDLES, this member is the standard output handle for the process. Otherwise, this value should be zero.

Title

[Optional] 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.

Methods

Create(String, String, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, UInt16, UInt64, UInt64, UInt64)

Create a new DkmProcessStartupInfo object instance.

Applies to