共用方式為


VsDebugTargetInfo Struct

Definition

Contains information about a debug target.

public value class VsDebugTargetInfo
struct VsDebugTargetInfo
[System.Runtime.InteropServices.ComConversionLoss]
public struct VsDebugTargetInfo
[<System.Runtime.InteropServices.ComConversionLoss>]
type VsDebugTargetInfo = struct
Public Structure VsDebugTargetInfo
Inheritance
VsDebugTargetInfo
Attributes

Fields

bstrArg

BSTR containing command-line arguments to the executable.

bstrCurDir

BSTR containing the name of the current directory.

bstrEnv

BSTR containing the environment settings to pass to CreateProcess.

bstrExe

BSTR containing the name of the executable.

bstrMdmRegisteredName

BSTR containing the name of the application as it is registered with the MDM.

bstrOptions

BSTR containing custom options specific to each clsidCustom (null is recommended).

bstrPortName

BSTR containing the name of port from the supplier specified in clsidPortSupplier (can be null).

bstrRemoteMachine

BSTR containing the remote machine name. Set to null for local machines.

cbSize

DWORD specifying the size of the VsDebugTargetInfo struct.

clsidCustom

Specifies that the exe will be launched by some custom means.

clsidPortSupplier

Specifies the Port supplier GUID.

dlo

Specifies how this process should be launched or attached. Values are taken from the DEBUG_LAUNCH_OPERATION enumeration.

dwClsidCount

Number of GUIDs in the pClsidList member.

fSendStdoutToOutputWindow

Specifies that stdout and stderr should be routed to the debug-output window.

grfLaunch

Specifies launch flags. Values are taken from the __VSDBGLAUNCHFLAGS enumeration. Used in DebugLaunch(UInt32) calls.

hStdError

HANDLE to StdError.

hStdInput

HANDLE to StdInput.

hStdOutput

HANDLE to StdOut.

pClsidList

Holds an array of GUIDs for multiple engine launch.

Applies to