다음을 통해 공유


IDebugPortNotify2::RemoveProgramNode

Unregisters a program that can be debugged from the port it is running on.

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 IDebugPortNotify2::AddProgramNode method.

See Also

Reference

IDebugPortNotify2

IDebugProgramNode2

IDebugPortNotify2::AddProgramNode