IVsDebugLaunch.QueryDebugLaunch(UInt32, Int32) Method

Definition

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

public:
 int QueryDebugLaunch(System::UInt32 grfLaunch, [Runtime::InteropServices::Out] int % pfCanLaunch);
int QueryDebugLaunch(unsigned int grfLaunch, [Runtime::InteropServices::Out] int & pfCanLaunch);
public int QueryDebugLaunch (uint grfLaunch, out int pfCanLaunch);
abstract member QueryDebugLaunch : uint32 * int -> int
Public Function QueryDebugLaunch (grfLaunch As UInteger, ByRef pfCanLaunch As Integer) As Integer

Parameters

grfLaunch
UInt32

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

pfCanLaunch
Int32

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to