IVsDebuggableProjectCfg2.QueryDebugLaunch(UInt32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the debugger can be launched, given the state of the launch flags. Inherited from IVsDebuggableProjectCfg.
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] Flags that determine the conditions under which to launch the debugger. For valid grfLaunch
values, see __VSDBGLAUNCHFLAGS.
- pfCanLaunch
- Int32
[out] Pointer to a flag that is set to true
if the debugger can be launched and false
otherwise.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.