Edit

Share via


IDebugProgramPublisher2::PublishProgramNode

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

Syntax

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