IDebugProgramPublisher2::PublishProgramNode

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

Makes a program node available for use by debug engines (DEs) and the session debug manager (SDM).

Syntax

HRESULT PublishProgramNode(
   IDebugProgramNode2 *pProgramNode
);
int PublishProgramNode(
   IDebugProgramNode2 pProgramNode
);

Parameters

pProgramNode
[in] An IDebugProgramNode2 object that represents the program node to make available.

Return Value

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

Remarks

This method allows programs to be queried for information before selecting and launching them for debugging.

To remove a program node from availability, call the UnpublishProgramNode method.

See also