IDebugPortNotify2::RemoveProgramNode
Applies to: Visual Studio Visual 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
Unregisters a program that can be debugged from the port it is running on.
Syntax
HRESULT RemoveProgramNode(
IDebugProgramNode2* pProgramNode
);
int RemoveProgramNode(
IDebugProgramNode2 pProgramNode
);
Parameters
pProgramNode
[in] An IDebugProgramNode2 objecy that represents the program to be unregistered.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
This method removes a program node that was added with a call to the AddProgramNode method.