IDebugProgramPublisher2::UnpublishProgramNode

Removes a specified program node from availability to debug engines (DEs) and the session debug manager (SDM).

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

Parameters

  • pProgramNode
    [in] An IDebugProgramNode2 object representing the program node being removed.

Return Value

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

Remarks

Once removed, the program node is no longer available to be queried for program information.

To make a program node available, call the IDebugProgramPublisher2::PublishProgramNode method.

See Also

Concepts

IDebugProgramPublisher2

IDebugProgramNode2

IDebugProgramPublisher2::PublishProgramNode