Edit

Share via


IDebugPortSupplier2::RemovePort

Removes a port.

Syntax

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.

See also