IVsDebugLaunch::QueryDebugLaunch Method (UInt32, Int32)

 

Tests whether you can launch the debugger with the specified options.

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

int QueryDebugLaunch(
	unsigned int grfLaunch,
	[OutAttribute] int% pfCanLaunch
)

Parameters

grfLaunch
Type: System::UInt32

[in] Bit flags, representing launch options, formed using values from the __VSDBGLAUNCHFLAGS enumeration.

pfCanLaunch
Type: System::Int32

[out] Boolean. Set to true if you can launch the debugger.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsDebugLaunch::QueryDebugLaunch(
   [in] VSDBGLAUNCHFLAGS grfLaunch, 
   [out] BOOL *pfCanLaunch
);
Return to top
Show: