IDebugProgramPublisher2::PublishProgramNode

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

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 IDebugProgramPublisher2::UnpublishProgramNode method.

See Also

Concepts

IDebugProgramPublisher2

IDebugProgramNode2

IDebugProgramPublisher2::UnpublishProgramNode