IDebugPort2
This interface represents a debug port on a machine.
IDebugPort2 : IUnknown
Notes for Implementers
A custom port supplier implements this interface to represent a debug port on a machine.
If the port supports sending port events, it must also implement the IConnectionPointContainer interface to support an IConnectionPoint interface that in turn provides the IDebugPortEvents2 interface.
Notes for Callers
Calls to IDebugPortSupplier2::GetPort or IDebugPortSupplier2::AddPort return this interface, representing the requested port.
Methods in Vtable Order
The following table shows the methods of IDebugPort2.
Method |
Description |
---|---|
Returns the port name. |
|
Returns the port identifier. |
|
Returns the request used to create a port (if available). |
|
Returns the port supplier for this port. |
|
Returns an interface to the process given the process's identifier. |
|
Enumerates all the processes running on a port. |
Remarks
The local port provides access to all the processes and programs running on the local machine. Other ports might represent a serial cable connection to a Windows CE-based device, or a network connection to a non-DCOM computer. The IDebugPort2 interface is used to find the name and identifier of a port, enumerate all processes running on the port, and provide facilities for launching and terminating processes on the port.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll