Partager via


IDebugProcessEx2::AddImplicitProgramNodes

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This method adds a program node for each debug engine (DE) specified.

Syntax

HRESULT AddImplicitProgramNodes(  
   REFGUID guidLaunchingEngine,  
   GUID*   rgguidSpecificEngines,  
   DWORD   celtSpecificEngines  
);  
int AddImplicitProgramNodes(  
   ref Guid guidLaunchingEngine,  
   Guid[]   rgguidSpecificEngines,  
   uint     celtSpecificEngines  
);  

Parameters

guidLaunchingEngine
[in] The GUID of a DE that is to be used to launch programs (and is assumed to add its own program nodes).

rgguidSpecificEngines
[in] Array of GUIDs of DEs for which program nodes will be added.

celtSpecificEngines
[in] The number of GUIDs in the rgguidSpecificEngines array.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Program Nodes will be added for each DE listed in rgguidSpecificEngines—excluding the launching engine (as given in guidLaunchingEngine), which is assumed to add its own program node when it launches a program.

See Also

IDebugProgramEx2
Program Nodes