메소드 | 설명 | |
---|---|---|
AddProgramNode ( IDebugProgramNode2 pProgramNode ) : int |
Registers a program that can be debugged with the port it is running on. A program node can be unregistered from the port by calling the IDebugPortNotify2::RemoveProgramNode method. |
|
EnumProcesses ( IEnumDebugProcesses2 &ppEnum ) : int |
Returns a list of all the processes running on a port.
|
|
GetPortId ( System.Guid &pguidPort ) : int |
Gets the port identifier.
|
|
GetPortName ( string &pbstrName ) : int |
Gets the port name.
|
|
GetPortNotify ( IDebugPortNotify2 &ppPortNotify ) : int |
This method gets an IDebugPortNotify2 interface for this port. Normally, the QueryInterface method is called on the object implementing the IDebugPort2 interface to obtain an IDebugPortNotify2 interface. However, there are circumstances in which the desired interface is implemented on a different object. This method hides those circumstances and returns the IDebugPortNotify2 interface from the most appropriate object. |
|
GetPortRequest ( IDebugPortRequest2 &ppRequest ) : int |
Gets the description of a port that was previously used to create the port (if available).
|
|
GetPortSupplier ( IDebugPortSupplier2 &ppSupplier ) : int |
Gets the port supplier for this port.
|
|
GetProcess ( AD_PROCESS_ID ProcessId, IDebugProcess2 &ppProcess ) : int |
Gets the specified process running on a port.
|
|
GetServer ( IDebugCoreServer3 &ppServer ) : int |
This method obtains an interface to the server that this port is on. The IDebugCoreServer3 is implemented by Visual Studio and represents the server that the port is located on. |
|
QueryIsLocal ( ) : int |
This method determines whether this port is on the local machine.
|
|
RemoveProgramNode ( IDebugProgramNode2 pProgramNode ) : int |
Unregisters a program that can be debugged from the port it is running on.
|
public AddProgramNode ( IDebugProgramNode2 pProgramNode ) : int | ||
pProgramNode | IDebugProgramNode2 | An IDebugProgramNode2 object that represents the program to be registered. |
리턴 | int |
public EnumProcesses ( IEnumDebugProcesses2 &ppEnum ) : int | ||
ppEnum | IEnumDebugProcesses2 | Returns an IEnumDebugProcesses2 object that contains a list of all the processes running on a port. |
리턴 | int |
public GetPortId ( System.Guid &pguidPort ) : int | ||
pguidPort | System.Guid | Returns the GUID that identifies the port. |
리턴 | int |
public GetPortName ( string &pbstrName ) : int | ||
pbstrName | string | Returns the name of the port. |
리턴 | int |
public GetPortNotify ( IDebugPortNotify2 &ppPortNotify ) : int | ||
ppPortNotify | IDebugPortNotify2 | An IDebugPortNotify2 object. |
리턴 | int |
public GetPortRequest ( IDebugPortRequest2 &ppRequest ) : int | ||
ppRequest | IDebugPortRequest2 | Returns an IDebugPortRequest2 object representing the request that was used to create the port. |
리턴 | int |
public GetPortSupplier ( IDebugPortSupplier2 &ppSupplier ) : int | ||
ppSupplier | IDebugPortSupplier2 | Returns an IDebugPortSupplier2 object represents the port supplier for a port. |
리턴 | int |
public GetProcess ( AD_PROCESS_ID ProcessId, IDebugProcess2 &ppProcess ) : int | ||
ProcessId | AD_PROCESS_ID | An AD_PROCESS_ID structure that specifies the process identifier. |
ppProcess | IDebugProcess2 | Returns an IDebugProcess2 object representing the process. |
리턴 | int |
public GetServer ( IDebugCoreServer3 &ppServer ) : int | ||
ppServer | IDebugCoreServer3 | Returns an object implementing the IDebugCoreServer3 interface. |
리턴 | int |
public RemoveProgramNode ( IDebugProgramNode2 pProgramNode ) : int | ||
pProgramNode | IDebugProgramNode2 | An IDebugProgramNode2 object that represents the program to be unregistered. |
리턴 | int |