IVsQueryDebuggableProjectCfg::QueryDebugTargets Method (UInt32, UInt32, array<VsDebugTargetInfo2>^, array<UInt32>^)
Visual Studio 2015
Returns information about a project's debugging targets.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int QueryDebugTargets( unsigned int grfLaunch, unsigned int cTargets, array<VsDebugTargetInfo2>^ rgDebugTargetInfo, array<unsigned int>^ pcActual )
Parameters
- grfLaunch
-
Type:
System::UInt32
[in] Integer containing bit flags representing options for launching the debugger. Constructed from values in the __VSDBGLAUNCHFLAGS enumeration.
- cTargets
-
Type:
System::UInt32
[in] Integer. The maximum number of debug targets—the length of the rgDebugTargetInfo array.
- rgDebugTargetInfo
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VsDebugTargetInfo2>^
[out] Array of VsDebugTargetInfo2 structures representing debug targets.
- pcActual
-
Type:
array<System::UInt32>^
[out] Pointer to an integer. The number of debug targets found and returned in rgDebugTargetInfo.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
[C++]
HRESULT IVsQueryDebuggableProjectCfg::QueryDebugTargets( [in] VSDBGLAUNCHFLAGS grfLaunch, [in] ULONG cTargets, [in, out, size_is(cTargets)] VsDebugTargetInfo2 rgDebugTargetInfo[], [out, optional] ULONG *pcActual );
Show: