IDebugPortSupplier2::AddPort
Adds a port.
pRequest
[in] An IDebugPortRequest2 object that describes the port to be added.
ppPort
[out] Returns an IDebugPort2 object that represents the port.
If successful, returns S_OK
; otherwise, returns an error code.
This method actually creates the requested port as well as adding it to the port supplier's internal list of active ports. The CanAddPort method can be called first to avoid possible time-consuming delays.