IVsQueryDebuggableProjectCfg2.QueryDebugTargets Method

Definition

Retrieves information about a project's debugging targets.

void QueryDebugTargets(unsigned int grfLaunch, unsigned int cTargets, std::Array <Microsoft::VisualStudio::Shell::Interop::VsDebugTargetInfo4> const & rgDebugTargetInfo, std::Array <unsigned int> const & pcActual);
public void QueryDebugTargets (uint grfLaunch, uint cTargets, Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo4[] rgDebugTargetInfo, uint[] pcActual);
abstract member QueryDebugTargets : uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo4[] * uint32[] -> unit
Public Sub QueryDebugTargets (grfLaunch As UInteger, cTargets As UInteger, rgDebugTargetInfo As VsDebugTargetInfo4(), Optional pcActual As UInteger())

Parameters

grfLaunch
UInt32

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

cTargets
UInt32

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

rgDebugTargetInfo
VsDebugTargetInfo4[]

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

pcActual
UInt32[]

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

Applies to