IVsQueryDebuggableProjectCfg2::QueryDebugTargets Method (UInt32, UInt32, array<VsDebugTargetInfo4>^, array<UInt32>^)

 

Retrieves information about a project's debugging targets.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

void QueryDebugTargets(
	unsigned int grfLaunch,
	unsigned int cTargets,
	array<VsDebugTargetInfo4>^ rgDebugTargetInfo,
	array<unsigned int>^ pcActual
)

Parameters

grfLaunch
Type: System::UInt32

[in] Bit flags representing options for launching the debugger. Constructed from values in the __VSDBGLAUNCHFLAGS6 enumeration.

cTargets
Type: System::UInt32

[in] The maximum number of debug targets—the length of the rgDebugTargetInfo array.

rgDebugTargetInfo
Type: array<Microsoft.VisualStudio.Shell.Interop::VsDebugTargetInfo4>^

[in, out, size_is(cTargets)] Array of VsDebugTargetInfo4 structures representing debug targets.

pcActual
Type: array<System::UInt32>^

[out, optional] The number of debug targets found and returned in rgDebugTargetInfo.

Return to top
Show: