public int RemovePort(IDebugPort2 pPort)
 {
     if (thePort != null)
     {
         if (pPort == thePort)
         {
             thePort = null;
             return(Microsoft.VisualStudio.VSConstants.S_OK);
         }
     }
     return(Microsoft.VisualStudio.VSConstants.S_FALSE);
 }
 public int AddPort(IDebugPortRequest2 pRequest, out IDebugPort2 ppPort)
 {
     thePort = new SquirrelPort(this, pRequest);
     ppPort  = (IDebugPort2)thePort;
     return(Microsoft.VisualStudio.VSConstants.S_OK);
 }
Exemplo n.º 3
0
 public SquirrelProcess(SquirrelPort port, AD_PROCESS_ID id)
 {
     this.port = port;
     procId    = id;
 }