IDebugPortNotify2::AddProgramNode
Registers a program that can be debugged with the port it is running on.
Syntax
Parameters
pProgramNode
[in] An IDebugProgramNode2 object that represents the program to be registered.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
A program node can be unregistered from the port by calling the RemoveProgramNode method.