IDebugPortSupplier2::RemovePort
Removes a port.
HRESULT RemovePort(
IDebugPort2* pPort
);
int RemovePort(
IDebugPort2 pPort
);
Parameters
- pPort
[in] An IDebugPort2 object that represents the port to be removed.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
This method removes the port from the port supplier's internal list of active ports.