Sdílet prostřednictvím


DkmProcessStartupInfo.Create Method

Definition

Create a new DkmProcessStartupInfo object instance.

public:
 static Microsoft::VisualStudio::Debugger::Start::DkmProcessStartupInfo ^ Create(System::String ^ Desktop, System::String ^ Title, int X, int Y, int XSize, int YSize, int XCountChars, int YCountChars, int FillAttribute, int Flags, System::UInt16 ShowWindow, System::UInt64 StdInputHandle, System::UInt64 StdOutputHandle, System::UInt64 StdErrorHandle);
public:
 static Microsoft::VisualStudio::Debugger::Start::DkmProcessStartupInfo ^ Create(Platform::String ^ Desktop, Platform::String ^ Title, int X, int Y, int XSize, int YSize, int XCountChars, int YCountChars, int FillAttribute, int Flags, unsigned short ShowWindow, unsigned long long StdInputHandle, unsigned long long StdOutputHandle, unsigned long long StdErrorHandle);
 static Microsoft::VisualStudio::Debugger::Start::DkmProcessStartupInfo Create(std::wstring const & Desktop, std::wstring const & Title, int X, int Y, int XSize, int YSize, int XCountChars, int YCountChars, int FillAttribute, int Flags, unsigned short ShowWindow, unsigned long StdInputHandle, unsigned long StdOutputHandle, unsigned long StdErrorHandle);
public static Microsoft.VisualStudio.Debugger.Start.DkmProcessStartupInfo Create (string Desktop, string Title, int X, int Y, int XSize, int YSize, int XCountChars, int YCountChars, int FillAttribute, int Flags, ushort ShowWindow, ulong StdInputHandle, ulong StdOutputHandle, ulong StdErrorHandle);
public static Microsoft.VisualStudio.Debugger.Start.DkmProcessStartupInfo Create (string? Desktop, string? Title, int X, int Y, int XSize, int YSize, int XCountChars, int YCountChars, int FillAttribute, int Flags, ushort ShowWindow, ulong StdInputHandle, ulong StdOutputHandle, ulong StdErrorHandle);
static member Create : string * string * int * int * int * int * int * int * int * int * uint16 * uint64 * uint64 * uint64 -> Microsoft.VisualStudio.Debugger.Start.DkmProcessStartupInfo
Public Shared Function Create (Desktop As String, Title As String, X As Integer, Y As Integer, XSize As Integer, YSize As Integer, XCountChars As Integer, YCountChars As Integer, FillAttribute As Integer, Flags As Integer, ShowWindow As UShort, StdInputHandle As ULong, StdOutputHandle As ULong, StdErrorHandle As ULong) As DkmProcessStartupInfo

Parameters

Desktop
String

[In,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.

Title
String

[In,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
Int32

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

Y
Int32

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

XSize
Int32

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

YSize
Int32

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

XCountChars
Int32

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

YCountChars
Int32

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

FillAttribute
Int32

[In] 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
Int32

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

ShowWindow
UInt16

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

StdInputHandle
UInt64

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

StdOutputHandle
UInt64

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

StdErrorHandle
UInt64

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

Returns

[Out] Result of this method call.

Applies to